chickadee » srfi-152 » string-for-each

string-for-each proc string₁ string₂ procedure

It is an error if proc does not accept as many arguments as the number of string arguments passed to string-for-each or does not accept characters as arguments.

The string-for-each procedure applies proc element-wise to the characters of the string arguments, going from left to right. If more than one string argument is given and not all have the same length, then string-for-each terminates when the shortest string argument runs out.