Next: SRFI-13 Constructors, Previous: Loading SRFI-13, Up: SRFI-13
In addition to the primitives string? and string-null?,
which are already in the Guile core, the string predicates
string-any and string-every are defined by SRFI-13.
Check if the predicate pred is true for any character in the string s, proceeding from left (index start) to right (index end). If
string-anyreturns true, the returned true value is the one produced by the first successful application of pred.
Check if the predicate pred is true for every character in the string s, proceeding from left (index start) to right (index end). If
string-everyreturns true, the returned true value is the one produced by the final application of pred to the last character of s.