chickadee » srfi-152 » string-drop-while

(string-drop-while string pred [start end]) → stringprocedure
(string-drop-while-right string pred [start end]) → stringprocedure

Drops the longest initial prefix/suffix of the substring of string specified by start and end whose elements all satisfy the predicate pred, and returns the rest of the string.

These are the same as string-trim and string-trim-right, but with a different order of arguments. (Not SRFI 13 procedures.)