Difference between revisions of "Trim"

From Catglobe Wiki
Jump to: navigation, search
Line 2: Line 2:
 

 

  
====trim====
+
= 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
+
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__
 
__NOTOC__
<!-- imported from file: 682.htm-->
 

Revision as of 05:10, 30 September 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