Provided by: kaya_0.4.4-6ubuntu3_amd64
Regex::split - Split a string into substrings.
[String] split( Regex pattre, String str, Int limit=0, Bool allowempty=false )
pattre A compiled regular expression str The String to split limit The maximum number of pieces (from the left) to split str into. If this is parameter is omitted or set to zero an unlimited number of pieces will be allowed. allowempty If this is true, then consecutive delimeters will be treated as having an empty string between them. If it is false (or omitted) then consecutive delimeters will be treated as one.
Using pattre as a delimeter, split str into substrings.
Kaya standard library by Edwin Brady, Chris Morris and others (firstname.lastname@example.org). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
Regex.compile (3kaya) Regex.split_1 (3kaya)