Kaya 0.5.2 reference for Strings::filter

List of functions and data types in Strings

String filter(Bool(Char) p, String str)

Arguments

Usage

Each character in str is tested against the predicate p. The returned string contains those characters in str for which the predicate is true.

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya