1Coercions.array(3kaya)       Kaya module reference      Coercions.array(3kaya)
2
3
4

NAME

6       Coercions::array - Unpack a string to characters.
7

SYNOPSIS

9       [Char] array( String x )
10

ARGUMENTS

12       x The String to unpack
13

DESCRIPTION

15       Unpack a string to characters.
16
17
18    s = "abcde";
19    cs = array(s);
20    // cs = ['a,'b','c','d','e']
21

AUTHORS

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

LICENSE

27       The Kaya standard library is free software;  you  can  redistribute  it
28       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
29       License (version 2.1 or any later version) as  published  by  the  Free
30       Software Foundation.
31
32
33
34Kaya                             December 2010          Coercions.array(3kaya)
Impressum