1Coercions.string(3kaya) Kaya module reference Coercions.string(3kaya)
2
3
4
6 Coercions::string - Pack an array of characters into a string.
7
9 String string( [Char] x )
10
12 x The list of Chars to pack
13
15 Pack an array of characters into a string.
16
17
18 cs = ['a','b','c','d','e'];
19 s = string(cs);
20 // s = "abcde"
21
23 Kaya standard library by Edwin Brady, Chris Morris and others
24 (kaya@kayalang.org). For further information see http://kayalang.org/
25
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.string(3kaya)