commonEnd: Find the longest common substring from the end between 2...

Description Usage Arguments Value Examples

Description

Find the longest common substring from the end between 2 words

Usage

1
commonEnd(word1, word2)

Arguments

word1

first string

word2

second string

Value

The longest common substring from the end to word1 and word2 or "" if there is no.

Examples

1
2
3
word1 <- "beautiful"
word2 <- "useful"
commonEnd(word1, word2)

lldelisle/usefulLDfunctions documentation built on Nov. 29, 2021, 5:40 a.m.