RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.TrimRight Function

Trims trailing spaces and control characters from a string.

Pascal
function TrimRight(const S: string): string; overload;
C++
AnsiString TrimRight(const AnsiString S);

TrimRight returns a copy of the string S with trailing spaces and control characters removed. 

 

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