strfry/README.md

11 lines
221 B
Markdown
Raw Normal View History

2024-05-16 18:19:07 +00:00
# Randomize a string
Randomizes the contents of string by randomly swapping characters in the string.
The result is an anagram of string.
```rust
use strfry::strfry;
let anagram = strfry("i am a weakish speller");
```