String.TrimRight

Parent Previous Next

String.TrimRight.

Returns the string without any trailing white space characters.


Syntax.


 TrimRight() : String

 


Example:


 String s := ("  abc1  ").TrimRight(); //Now s == "  abc1";