2 unstable releases

0.1.0 May 16, 2024
0.0.0 May 14, 2024

#863 in Text processing

MIT license

3KB

Randomize a string

Randomizes the contents of string by randomly swapping characters in the string. The result is an anagram of string.

use strfry::strfry;

let anagram = strfry("i am a weakish speller");

lib.rs:

Randomize a string

Randomizes the contents of string by randomly swapping characters in the string. The result is an anagram of string.

let anagram = strfry("i am a weakish speller");

No runtime deps