Trim

From Catglobe Wiki
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