RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringT::Trim Method

Returns a new System::AnsiStringT without leading spaces, trailing spaces, or control characters.

Pascal
function Trim: AnsiStringT;
C++
__fastcall AnsiStringT Trim() const;

System::AnsiStringT::Trim returns a new System::AnsiStringT removing leading and trailing spaces and control characters. Use System::AnsiStringT::Trim to remove blank space before and after the first printing character. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!