Reference

Class

RiString

Name

trim

Description Removes leading and trailing whitespace from the RiString
Syntax
trim();
Returns
RiStringthis RiString
Example
rs = new RiString("   Who are you?  "); 
rs.trim(); // Who are you?
Platform Java / Javascript