extract substring

버전 1.0.0.0 (1.69 KB) 작성자: Phillip M. Feldman
substr extracts a substring of length len from the string str, starting at the specified offset.
다운로드 수: 3.9K
업데이트 날짜: 2009/8/18

라이선스 보기

substr extracts a substring of length len from the string str, starting at the specified offset. In this version, the first character position has offset 1. (In Acklam's original code, the first character position has offset 0, but this is inconsistent with Matlab conventions). If offset is negative, the position is reckoned by counting backwards from the end of the string. If len is omitted, substr returns everything to the end of the string. If len is negative, substr removes -len characters from the end of the string.

인용 양식

Phillip M. Feldman (2024). extract substring (https://www.mathworks.com/matlabcentral/fileexchange/25064-extract-substring), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0