MessWords

Version 1.0.0.0 (4.06 KB) by Jan
Shuffle characters of words
198 Downloads
Updated 7 Jul 2014

View License

Sffluhe crcreaaths of wrdos
Acoicdnrg to a stduy of an Enlsigh unitsvreiy the odrer of carartehcs in a
wrod deos not prevnet the riatdibaley, as lnog as the fsirt and lsat chetcraar
are ccroert. The rset can be ctpemoelly mxeid and nsnneose, but it is sitll
rdaleabe. Tihs wrkos, beasuce the wrdos are not raed certcaahr by ccrataher,
but iifdnetied in toatl.

MixedMsg = MessWords(Msg, KeepEdge)
INPTU:
Msg: Txet as snrtig or clel strnig.
KeepEdge: Fsirt and lsat cacearhtr are ieucdlnd in the mxniig, if tihs is
FASLE. Onitaopl, dtfelua: TURE.
OPTUTU:
MixedMsg: Txet wtih mexid chrareatcs.

EMLPXAE:
MessWords(help('MessWords'))

NTOSE:
- Tihs foiutcnn is not oizteipmd for seepd, beucase it is touhght for smoe
eiexetrmnps and wlil not be uesd for purdctvioe cdoe, msot lilkey.
- If aivlalbae tihs funciotn is uesd for the radonm pousaenirmtt:
http://www.mathworks.com/matlabcentral/fileexchange/27076-shuffle
As fclaalbk Mlaatb's RANEDPRM is clelad whutiot dckwabras.

:-)

NOICTE: The cdoe and the lnik has been fiexd hree muaalnly to rcdeue the cofsonuin.

Cite As

Jan (2024). MessWords (https://www.mathworks.com/matlabcentral/fileexchange/47153-messwords), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0