[fpc-pascal] splitting string into array

L L at z505.com
Wed Jul 11 09:34:04 CEST 2007

Marc Santhoff wrote:
> Hi,
> is there any function in the libraries of fpc for splitting a string
> into an array naming the separator?

There is a function in the substrings.pas unit included in this


And some other goodies in the substrings unit, and also some more goodies in
strfilter.pas, and strwrap1.pas.

Many functions should be merged into an FPC rtl unit I suppose, since it appears
many of us are reinventing the wheel each time rolling our own private units.

More information about the fpc-pascal mailing list