Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

StringSplit: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg_pham (talk | contribs)
No edit summary
Line 1: Line 1:
  
  


==== stringSplit ====
==== stringSplit ====


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


'''Syntax'''
'''Syntax'''  
stringSplit(''string_expression'', ''separator'')


'''Arguments'''
stringSplit(''string_expression'', ''separator'')
''string_exp'': Is a string expression.''separator'': Is a string expression.


'''Return type'''
'''Arguments'''
array
 
''string_exp'': Is a string expression.''separator'': Is a string expression.
 
'''Return type'''  
 
array  
 
'''Examples'''


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


[[Category:String_Functions]]
[[Category:String_Functions]]

Revision as of 03:40, 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}