Difference between revisions of "StringSplit"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
[[Category:String_Functions]]
+


+
 
 +
==== stringSplit ====
 +
 
 +
Returns a string array containing the sub strings in a string that are delimited by elements of a specified string.
 +
 
 +
'''Syntax'''
 +
stringSplit(''string_expression'', ''separator'')
 +
 
 +
'''Arguments'''
 +
''string_exp'': Is a string expression.''separator'': Is a string expression.
 +
 
 +
'''Return type'''
 +
array
  
====stringSplit====
+
'''Examples'''
 +
print(stringSplit("Hello", "ll"));//{He, , o}
  
Returns a string array containing the sub strings in a string that are delimited by elements of a specified string.'''Syntax'''stringSplit(''string_expression'', ''separator'')'''Arguments'''''string_exp'': Is a string expression.''separator'': Is a string expression.'''Return type'''array'''Examples'''print(stringSplit("Hello", "ll"));//{He, , o}
+
[[Category:String_Functions]]
__NOTOC__
 
<!-- imported from file: 678.htm-->
 

Revision as of 04:39, 14 December 2011



stringSplit

Returns a string array containing the sub strings in a string that are delimited by elements of a specified string.

Syntax stringSplit(string_expression, separator)

Arguments string_exp: Is a string expression.separator: Is a string expression.

Return type array

Examples print(stringSplit("Hello", "ll"));//{He, , o}