Reverse Token Order

Reverse the order of words in a string.
472.0 次下载
更新时间 2016/9/1

查看许可证

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 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.1.0.1

Updated license

1.1.0.0

Added copyright notices.

1.0.0.0