We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Get common suffix of strings.
const commonSuffix = require('@extra-string/common-suffix'); // commonSuffix(<string-1>, <string-2>) commonSuffix('peacock', 'hancock'); // 'cock' commonSuffix('mars', 'tars'); // 'ars' commonSuffix('chief', 'master'); // ''