how to reduce the length of a string
조회 수: 34 (최근 30일)
이전 댓글 표시
MATlab code for reducing the length of a string
댓글 수: 1
답변 (1개)
KALYAN ACHARJYA
2018년 3월 12일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!