[fpc-pascal] TStringList.DelimitedText seems not to work...

Bo Berglund bo.berglund at gmail.com
Mon Nov 19 23:30:50 CET 2018

On Mon, 19 Nov 2018 22:12:56 +0100 (CET), Michael Van Canneyt
<michael at freepascal.org> wrote:

>> How can I stop it from parsing using space, I thought taht whan I
>> defined it to be <TAB> (#9) that would be what it should use....

Thanks so much!

    Parse.Delimiter := #9;
    Parse.StrictDelimiter := true;
    Parse.DelimitedText := Data;
    p := Parse.Count;

Now p=4 like it should be and the database insert works OK.

If I do not set the StrictDelimiter, what is the delimitedtext
breaking on?

Whitepace, line breaks and what else?

Bo Berglund
Developer in Sweden

More information about the fpc-pascal mailing list