Reverse Token Order
版本 1.1.0.1 (1.6 KB) 作者:
Siddharth Shankar
Reverse the order of words in a string.
This function reverses the order of words in a string. This function is not to be confused with FLIPLR which flips the left-right order of characters in a string.
For example:
reverseTokenOrder('Accelerating the pace of engineering and science')
ans =
science and engineering of pace the Accelerating
引用格式
Siddharth Shankar (2024). Reverse Token Order (https://www.mathworks.com/matlabcentral/fileexchange/25474-reverse-token-order), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Characters and Strings 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!