RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
UnicodeString::TrimRight Method

Returns new System::UnicodeString without trailing spaces or control characters.

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

System::UnicodeString::TrimRight returns a new System::UnicodeString instance, removing trailing spaces and control characters. Use the System::UnicodeString::TrimRight function to remove blank space after the last printing character. The original System::UnicodeString instance remains unchanged. 

 

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