1Strings.ltrim(3kaya) Kaya module reference Strings.ltrim(3kaya)
2
3
4
6 Strings::ltrim - Trim selected characters from the start of a String
7
9 Void ltrim( var String x, Bool(Char) fn=isSpace )
10
12 x The string to trim
13
14 fn The trimming function. Returns true if characters should be trimmed,
15 false otherwise. The default function is Prelude.isSpace (3kaya) which
16 trims whitespace.
17
19 Remove characters in-place from the start of a String as determined by
20 the trimming function.
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
33 Strings.rtrim (3kaya)
34 Strings.trim (3kaya)
35
36
37
38Kaya December 2010 Strings.ltrim(3kaya)