Function
str_split
Synopsis
str_split(string, int ...): array
- Area
Runtime\PS\Core\Strings\str_splitareas
Description
str_split returns $string cut into chunks of $length bytes, the last one shorter when the string does not divide evenly and a chunk boundary may fall inside a multi-byte character. An empty string returns an empty array.
Usage
$value = str_split($arguments);
$fn = str_split(...);