Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | str.explode SEARCH    

  Functions
str.adjustLineBreaks
str.char
str.comma
str.escape
str.explode
str.implode
str.left
str.len
str.lower
str.pos
str.pos.ex
str.replace
str.right
str.sub
str.trim
str.unescape
str.upper
str.wrapText

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
str.explode

Language: MioScript
Product: MioFactory


Syntax

str.explode(targetArray, String, Separator)


Parameters

ARRAYtargetArrayName of the variable to store the new array.
STRINGStringString to explode.
STRINGSeparatorSeparator.


Return value

String.



Description

Explodes a string and fill an array.

See also: str.implode.

Note: This function is defined in the library klib.k and is linked automatically.




MioScript Sample Code

&myString = "A<BR>B<BR>C"
str.explode(myArray, &myString, "<BR>")

alert(&myArray[])