[fpc-pascal] TStringHelper missing
Ryan Joseph
ryan at thealchemistguild.com
Mon Aug 21 05:15:33 CEST 2017
I’m trying to split a string by a delimiter and see there is a type helper called TStringHelper (https://www.freepascal.org/docs-html/rtl/sysutils/tstringhelper.html). The compiler version I’m using is "Free Pascal Compiler version 3.1.1 [2017/04/22] for i386” but when I include SysUtils the methods are not found.
For example:
var
str: string;
parts: TStringArray;
parts := str.Split(' ‘);
What am I doing wrong?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list