RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiString::TrimRight Method

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

Pascal
function TrimRight: String;
C++
__fastcall AnsiString TrimRight() const;

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!