Wechstaben verbuchseln

Dieses JavaScipt Beispiel veranschaulicht ein Phänomen, welches vor einiger Zeit im Internet rumgeisterte.
Mehr dazu im folgenden Absatz:

Inetrsteinig
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosnt mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a total mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
Fcuknig amzanig huh?

Ach ja, das Script berücksichtigt momentan die Satzzeichen nicht sauber, d.h. sie werden, wenn sie direkt an einem Wort hängen mit gemixt.

Eingabe:





Ausgabe: