String.Trim

Parent Previous Next

String.Trim.

Returns the string without any leading or trailing white space characters.


Syntax.


 Trim() : String

 


Example:


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