chickadee » srfi-135 » textual-prefix?

(textual-prefix? textual1 textual2 [start1 end1 start2 end2]) → booleanprocedure
(textual-suffix? textual1 textual2 [start1 end1 start2 end2]) → booleanprocedure

Is textual1 a prefix/suffix of textual2?

The optional start/end indexes restrict the comparison to the indicated subtexts of textual1 and textual2.