STR_SPLIT(1e)

NAME

str_split - Convert a string to an array.

SYNOPSIS

str_split(str,length)

PARAMETERS

str
The input string.
length
Maximum length of the chunk.

RETURN

Returns the shuffled string.

EXAMPLES

in:  res=<{str_split("ONE SAMPLE",2)}>.
out: res=["ON","E ","SA","MP","LE"].

SEE ALSO

String

AUTHOR

Written by Pusnei Sergey, <sergey@sednove.com>

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com