String Toolkits

버전 1.0.0.0 (13.7 KB) 작성자: Dahua Lin
A set of useful string manipulation functions that MATLAB does not offer
다운로드 수: 9.6K
업데이트 날짜: 2008/10/10

라이선스 보기

It is a collection of useful string manipulation functions, which offer versatile functionality for joining, splitting, translating strings.

MATLAB is shipped with a series of string functions. However, some useful functions have not yet been in the MATLAB releases. Inspired by other advanced languages like Java, Ruby, and Python, I developed a set of string manipulation functions in order to make string processing more convenient.

Here gives a brief list of contents

strjoin: joins multiple strings with user-specified delimiter

strsplit: extracts terms from a string that are separated by a specified delimiter

strsplit_re: similar to strsplit, but the delimiter is given by regular expression.

strstartswith, strendswith: determine whether a string starts or ends with a particular pattern

strgsub: translates parts of strings in a user-defined way.

This toolbox is not aimed at offering a comprehensive string library and replacing the string functions in MATLAB. Its target is just to complement what MATLAB is lacking. Hope it helps.

인용 양식

Dahua Lin (2024). String Toolkits (https://www.mathworks.com/matlabcentral/fileexchange/21710-string-toolkits), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
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