how to reduce the length of a string
35 views (last 30 days)
Show older comments
MATlab code for reducing the length of a string
1 Comment
Answers (1)
KALYAN ACHARJYA
on 12 Mar 2018
You can delete the characters from strings-
%Code: delete the last five character from strings, you can choose it another way also.
S='InputString.txt'
S=S(1:end-5)
0 Comments
See Also
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!