1Regex.split(3kaya)           Kaya module reference          Regex.split(3kaya)
2
3
4

NAME

6       Regex::split - Split a string into substrings.
7

SYNOPSIS

9       [String]  split(  Regex  pattre,  String  origstr,  Int  limit=0,  Bool
10       allowempty=false )
11

ARGUMENTS

13       pattre A compiled regular expression
14
15       str The String to split
16
17       limit The maximum number of pieces (from the left) to split  str  into.
18       If  this  is parameter is omitted or set to zero an unlimited number of
19       pieces will be allowed. Note that if allowempty is false that the empty
20       strings  will  count  towards  the  limit  but  will  not appear in the
21       returned array.
22
23       allowempty If this is true, then consecutive delimeters will be treated
24       as  having  an  empty  string between them. If it is false (or omitted)
25       then consecutive delimeters will be treated as one.
26

DESCRIPTION

28       Using pattre as a delimeter, split str into substrings.
29

AUTHORS

31       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
32       (kaya@kayalang.org). For further information see http://kayalang.org/
33

LICENSE

35       The  Kaya  standard  library  is free software; you can redistribute it
36       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
37       License  (version  2.1  or  any later version) as published by the Free
38       Software Foundation.
39
41       Regex.compile (3kaya)
42       Regex.split_1 (3kaya)
43
44
45
46Kaya                             December 2010              Regex.split(3kaya)
Impressum