Universeorange.com/Docs/
{preg.split(String $pattern, String $subject, Int $limit=-1, String $flags)}
Split the given string by a regular expression.
Pattern: The pattern to search for, as a string.
Subject: The input string.
limit If specified, then only substrings up to limit are returned with the rest of the string being placed in the last substring. A limit of -1 or 0 means "no limit".
Flags:
{preg.split()}
.Returns an
array
containing substrings of subject split along boundaries matched by the pattern, or false on failure.
https://www.php.net/manual/en/function.preg-split.php
Last modified: 2021-06-07
© 2021 universeorange.com