Trim: Difference between revisions
From Catglobe Wiki
More actions
No edit summary |
No edit summary Β |
||
Line 1: | Line 1: | ||
ο»Ώ{{HelpFiles}} Β | |||
ο»Ώ{{HelpFiles}} | Β | ||
= 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 __NOTOC__ | |||
[[Category:String_Functions]] | |||
Latest revision as of 03:44, 23 December 2011
ο»Ώ
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