[fpc-pascal]feature request: enhanced "pos"

Olle Raab automagi at algonet.se
Sun Mar 21 16:42:46 CET 2004


04-03-06 11.25, skrev Thomas Schatzl följande:

>> I would love to see a "pos" function that takes an additional parameter,
> being the position in the string where it >should START scanning. e.g.:
>> 
>> my_str = 'Hello, everybody... Hello, world!';
>> 
>> //        123456789012345678901
>> 
>> x := pos ('Hello', my_str, 6);
> 
> PosEx() from strutils?

Cant find it in strutils..

Olle





More information about the fpc-pascal mailing list