Difference between revisions of "Trim"

From Catglobe Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:String_Functions]]
+
{{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 ====
  
====trim====
+
Version 5.2 __NOTOC__
  
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
+
[[Category:String_Functions]]
__NOTOC__
 
<!-- imported from file: 682.htm-->
 

Latest revision as of 04: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