R3m/framework Function reference string.split

{string.split(String $string, Int $length=1)}

Convert a string to an array.


    The input string.

    Maximum length of the chunk.

If the optional length parameter is specified, the returned array will be broken down into chunks with each being length in length, otherwise each chunk will be one character in length. False is returned if length is less than 1. If the length length exceeds the length of string, the entire string is returned as the first (and only) array element.

More information:


Last modified: 2021-06-07

© 2021 universeorange.com