Case Converter

버전 1.0.0.0 (2.58 KB) 작성자: Skynet
Converts character string case to title, sentence, toggle, random, upper, or lower case.
다운로드 수: 2.2K
업데이트 날짜: 2005/6/10

라이선스 보기

This function uses mostly the 'upper' and 'lower' functions to convert a text string to additional case types including 'Title Case', 'Sentence case', 'tOGGLE cASE', and 'RaNDoMizEd cASe'.

Type 'help caseconvert' for usage details.

Examples:

caseconvert('sample text','title') returns 'Sample Text'
caseconvert('Sample Text','toggle') returns 'sAMPLE tEXT'

caseconvert({'new york' 'california'},'randomized')
returns {'neW yoRk' 'CAlIFORnIA'}

caseconvert({'This Is A Test.' 'Matlab'},{'sentence' 'upper'})
returns {'This is a test.' 'MATLAB'}

[Please subscribe to this file if you use it, so you can be notified of updates.]

인용 양식

Skynet (2024). Case Converter (https://www.mathworks.com/matlabcentral/fileexchange/6275-case-converter), MATLAB Central File Exchange. 검색됨 .

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

Made a few minor changes as suggested by M-Lint.