Module

x/jumble/mod.ts>jumble

🤪 Jumble your text!
Latest
function jumble
import { jumble } from "https://dotland.deno.dev/x/jumble@v0.1.0/mod.ts";

Jumble a string

Jumbling a string shifts around the letters in a string, while keeping the first and last letter of a word the same; lkie tihs, do you utnsrednad now?

Examples

jumble("Hello, World!") // A possible result is "Hlleo, Wrlod!"

Parameters

text: string

The text to jumble

Returns

string

The input text, but jumbled