LCSSubStr-a function that return two string's largest common part
a function that return two string's largest common part
% Usage:
% [ret]=LCSubstr(s,t)
% s: input string 1
% t: input string 2
% ret: Largest Common String
% z: Largest Common String Length
% L : Compare matrix
% Example:
% >>a='This is very common string';
% >>b='string is very common';
% >>[ret]=LCSubstr(a,b)
% ret =
%
% very common
引用格式
Zhiping XU (2024). LCSSubStr-a function that return two string's largest common part (https://www.mathworks.com/matlabcentral/fileexchange/27173-lcssubstr-a-function-that-return-two-string-s-largest-common-part), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
致谢
启发作品: String subsequence tools
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |