query
On this page

commonSuffixLength

lib.strings.commonSuffixLength

Docs pulled from | This Revision | 17 minutes ago


Returns the length of the suffix common to both strings a and b.

Inputs

a
1. Function argument
b
2. Function argument

Type

commonSuffixLength :: string -> string -> int