RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStringBase::TrimRight Method

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

Pascal
function TrimRight(codePage: Integer): AnsiStringBase;
C++
__fastcall AnsiStringBase TrimRight(int codePage) const;

System::AnsiStringBase::TrimRight returns a new System::AnsiStringBase removing trailing spaces and control characters. Use the System::AnsiStringBase::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!