chickadee » srfi-130 » string-cursor-back

string-cursor-backprocedure

Returns the cursor into s which follows/precedes cursor by nchars characters. If cursor is an index, returns nchars more/less than cursor. It is an error if the result would be an invalid cursor or index.