[fpc-pascal] Re: Trim(): incompatibility with Delphi

Flávio Etrusco flavio.etrusco at gmail.com
Tue Mar 6 04:07:28 CET 2012


On Mon, Mar 5, 2012 at 11:36 PM, leledumbo <leledumbo_cool at yahoo.co.id> wrote:
>> Fpc Trim(): Trim whitespace from the ends of a string.
>
> Where did you get that? The documentation
> (http://www.freepascal.org/docs-html/rtl/sysutils/trim.html) doesn't say
> so...
>

And a simple test confirms the docs (FPC 2.6):

  ShowMessage(Trim('test             ') + Trim ('       !'));

-Flávio



More information about the fpc-pascal mailing list