現在この提出コンテンツをフォロー中です。
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます
This tool does all the case changes, with a little extra. It does what I consider a proper title case in that it does not capitalize the little words. e.g. 'This Is Title Case In A Bad Form', but rather 'This is Title Case in a Good Form'
Same thing with the other case changes. You can specify proper forms like 'Florida' or 'Google' that always have the first letter capitalized. You can also specify acronyms that will keep upper case like 'GPS' or 'ASCII'.
This makes it easy to convert to/from camel case for variable and function names.
e.g. 'readGPSFiles' <--> 'Read GPS Files'
Also does snake case
e.g. 'read_GPS_files' <--> 'Read GPS Files'
It will retain symbols and whitespace for most case changes but not for camel or snake which will purge all symbols and whitespace.
Enjoy!
引用
Captain Awesome (2026). changeCase(S, caseType) (https://jp.mathworks.com/matlabcentral/fileexchange/61411-changecase-s-casetype), MATLAB Central File Exchange. に取得済み.
謝辞
ヒントを得たファイル: Case Converter
| バージョン | 公開済み | リリース ノート | Action |
|---|---|---|---|
| 1.0.0.0 |
