<< deblank | String type | int2str >> |
tf = endsWith(str, pattern) |
tf = endsWith(str, pattern,'IgnoreCase', true) |
tf = endsWith(str, pattern,'IgnoreCase', false) |
a string, string array or cell of strings.
a string to find.
a matrix of logical.
str = 'To make a mountain out of a molehill';
k = endsWith (str, 'hill')
k = endsWith (str, 'molehill')
k = endsWith (str, 'Hill', 'IgnoreCase', true)
A = {'Nel', 'son'; 'Nelson', 'Modules'}
k = endsWith(A, 'son')
A = ["Nel", "son"; "Nelson", "Modules"]
k = endsWith(A, "son")
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET