Tokenizes a string using $options['separator'], ignoring any instances of
$options['separator'] that appear between $options['leftBound'] and
$options['rightBound'].
public static tokenize ( string $data, array $options = [] ) : array | ||
$data | string | The data to tokenize. |
$options | array | Options to use when tokenizing: -`'separator'` _string_: The token to split the data on. -`'leftBound'` _string_: Left scope-enclosing boundary. -`'rightBound'` _string_: Right scope-enclosing boundary. |
return | array | Returns an array of tokens. |