Reverse Token Order
Versión 1.1.0.1 (1,6 KB) por
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
Citar como
Siddharth Shankar (2025). Reverse Token Order (https://www.mathworks.com/matlabcentral/fileexchange/25474-reverse-token-order), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Characters and Strings en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.