You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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
Cite As
Siddharth Shankar (2026). Reverse Token Order (https://se.mathworks.com/matlabcentral/fileexchange/25474-reverse-token-order), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.1 (1.6 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
