Hi, I must be missing something obvious. But given the following definition of the Split() helper function for strings:
Function Split(const Separators: array of Char; Options: TStringSplitOptions): TStringArray; overload; (fpc 3.2.2) Why does this not compile: var SA: TStringArray; ... SA := S.Split([#0..#32],TStringSplitOptions.ExcludeEmpty); test.pas(236,59) Error: Incompatible type for arg no. 2: Got "TStringSplitOptions", expected "Char". I feel I must be blind... -- Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal