Method Regexp.SimpleRegexp()->split()
- Method split
array
(string
) split(string
s
)- Description
Works as match, but returns an array of the strings that matched the subregexps. Subregexps are those contained in "( )" in the regexp. Subregexps that were not matched will contain zero. If the total regexp didn't match, zero is returned.
- Bugs
You can currently only have 39 subregexps.
- Bugs
The current implementation doesn't support searching in strings containing the NUL character or any wide character.
- See also