Next: strings search, Previous: strings pad, Up: strings [Index]
Return the length of the longest common prefix of the two substrings. This is equivalent to the “mismatch index” for the strings (modulo the start index offsets).
Return the length of the longest common suffix of the two substrings.
Return #t
if the selected substring of str1 is a prefix of
the selected substring of str2, otherwise return #f
. Notice
that the empty string is a prefix of every string.
Return #t
if the selected substring of str1 is a suffix of
the selected substring of str2, otherwise return #f
. Notice
that the empty string is not a suffix of every string.