User Tools

Site Tools


en:explode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:explode [2016/01/01 22:41]
127.0.0.1 external edit
en:explode [2020/02/28 10:46] (current)
Line 2: Line 2:
  
 ==== Format ==== ==== Format ====
-string_array_variable$ = **explode** ( //string_expr// //delimiter_expr// )\\ +variable = **explode** ( [[stringexpressions|string_expression]] [[stringexpressions|delimiter_expression]] )\\ 
-string_array_variable$ = **explode** ( //string_expr// //delimiter_expr// //boolean_expr// )\\+variable = **explode** ( [[stringexpressions|string_expression]] [[stringexpressions|delimiter_expression]] [[booleanexpressions|boolean_expression]] )\\
  
-returns //string_array// that must be assigned to //string_array_variable$//+returns a [[lists|list]] of strings.  Typically this function is used to create an array.
  
 ==== Description ==== ==== Description ====
-Splits up the //string_expr// into substrings wherever the //delimiter_expr// occurs.  Substrings are stored in either the string or numeric array defined in the assignment statement.  The array will be re-dimensioned to the exact size to store all of the substrings.+Splits up the [[stringexpressions|string_expression]] into substrings wherever the [[stringexpressions|delimiter_expression]] occurs.
  
-You may also specify an optional boolean value to specify that the search will treat upper and lower case letters the same.+You may also specify an optional Boolean value to specify that the search will treat upper and lower case letters the same.
  
  
Line 58: Line 58:
 n[2]=3 n[2]=3
 n[3]=77 n[3]=77
-n[4]=0+n[4]=foo
 n[5]=9.987 n[5]=9.987
 n[6]=6.45 n[6]=6.45
Line 68: Line 68:
 ==== History ====  ==== History ==== 
 |0.9.6.55|New to Version| |0.9.6.55|New to Version|
 +|1.99.99.55|now allow explode to be used anywhere a list may be used|
en/explode.1451713260.txt.gz · Last modified: 2020/02/28 10:46 (external edit)