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

Thomas Schatzl tom_at_work at gmx.at
Sat Mar 6 11:25:48 CET 2004


> Dunno if this is the right place to post such a message, but here goes...

I think you're completely right...

> 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?


More information about the fpc-pascal mailing list