Reverse Token Order

Reverse the order of words in a string.
473 téléchargements
Mise à jour 1 sept. 2016

Afficher la licence

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

Citation pour cette source

Siddharth Shankar (2026). Reverse Token Order (https://fr.mathworks.com/matlabcentral/fileexchange/25474-reverse-token-order), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Characters and Strings dans Help Center et MATLAB Answers
Version Publié le Notes de version
1.1.0.1

Updated license

1.1.0.0

Added copyright notices.

1.0.0.0