[Lazarus] Removing a character from string

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Nov 12 17:24:53 CET 2012



On Mon, 12 Nov 2012, Richard Mace wrote:

> Michael,
> Thanks.
> What would be the best way of finding the position of char in a string
> (Windows only)


Pos(C,S);

Where C is the char and S the string.

See

http://www.freepascal.org/docs-html/rtl/system/pos.html

Michael.




More information about the Lazarus mailing list