[fpc-pascal] How to split file of whitespace separated numbers?
mailinglists at geldenhuys.co.uk
Fri Dec 23 12:53:58 CET 2016
On 2016-12-23 08:14, Bo Berglund wrote:
> Is there a quick way to split a string of whitespace separated values
> into the separate members?
That problem is perfectly suited for regular expressions. And a rather
simple one at than. The FPC's FCL packages include a regex unit too
which should suite your needs.
Even the trial book (first chapter only) of "Mastering Regular
Expressions" is invaluable for users new to regex. And will
explain all you need to know to solve your problem.
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal