Universeorange.com/Docs/

R3m/framework Function reference string.split

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

Convert a string to an array.

string

    The input string.
length

    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:

https://www.php.net/manual/en/function.str-split.php

Last modified: 2021-06-07

© 2021 universeorange.com