Reverse Token Order
Version 1.1.0.1 (1,6 KB) von
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
Zitieren als
Siddharth Shankar (2025). Reverse Token Order (https://www.mathworks.com/matlabcentral/fileexchange/25474-reverse-token-order), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Characters and Strings finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.1 | Updated license |
||
1.1.0.0 | Added copyright notices. |
||
1.0.0.0 |