function

str_split . string . sncode

VERSIONlatest Convert a string to an array.

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"].

AUTHOR

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