LCSSubStr-a function that return two string's largest common part

版本 1.0.0.0 (1.5 KB) 作者: Zhiping XU
a function that return two string's largest common part
508.0 次下载
更新时间 2010/4/5

查看许可证

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 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Characters and Strings 的更多信息
致谢

启发作品: 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