RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringT::TrimRight Method

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

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

System::AnsiStringT::TrimRight returns a new System::AnsiStringT removing trailing spaces and control characters. Use the System::AnsiStringT::TrimRight function to remove blank space after the last printing character. 

 

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