Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-04

TString idea (like stringlist but string only)

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Is there a need by anyone for a TString where one could add to a string (TString.Add) without any CRLF (line feeds) and modify a string as an object?

I have needed this several times as the TStringList linefeeds get in the way. It's similar to say some kind of stringlist but focuses only on an ansistring as an object instead of a string, to add to, modify, capacity (capstr capacity growth idea too).

Regards, Lars
(long time no post!)

Reply by email

Marco van de Voort
to Unknown author

Op 2020-04-02 om 19:30 schreef

Show quoted text 9 lines
Is there a need by anyone for a TString where one could add to a string (TString.Add) without any CRLF (line feeds) and modify a string as an object? I have needed this several times as the TStringList linefeeds get in the way. It's similar to say some kind of stringlist but focuses only on an ansistring as an object instead of a string, to add to, modify, capacity (capstr capacity growth idea too).

Have a look at tstringbuilder

Reply by email