[Top]
Regexp
|
Method Regexp.split()
- Method
split
-
array(string) Regexp.split(string s)
- Description
-
Works as Regexp.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 only have 39 subregexps.
|