RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideString::Trim Method

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

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

System::WideString::Trim returns a new System::WideString removing leading and trailing spaces and control characters. Use System::WideString::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!