common_suffix 函数
返回所有输入字符串共有最长后缀的长度。
语法
CommonSuffix(text1, text2, ...)common_suffix(text1, text2, ...)
参数与选项
text | 两个或更多需要比较的文本。 |
|---|
示例
- 公共后缀长度
CommonSuffix('running', 'sing')返回 3。
返回所有输入字符串共有最长后缀的长度。
CommonSuffix(text1, text2, ...)common_suffix(text1, text2, ...)text | 两个或更多需要比较的文本。 |
|---|
CommonSuffix('running', 'sing')返回 3。