Trim

From Catglobe Wiki
Revision as of 04:44, 23 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



trim

Removes all occurrences of white space characters from the beginning and end of a string input.

Syntax

trim(inputString)

Arguments

inputString: is a string expression.

Return type

string

Example

print(trim(" CatGlobe "));

//CatGlobe

Availability

Version 5.2