Crate spongebob

Source
Expand description

Functions to manipulate text in the style of the SpongeBob mocking meme.

§Examples

use spongebob::alternate;
assert_eq!(alternate("Hello, world!"), "HeLlO, wOrLd!");

Functions§

alternate
Alternate the case of each letter of each word, skipping non-alphabetic characters.
randomize
Randomize the case of each letter of each word, passing non-alphabetic characters through.
spaceify
Inserts spaces between character of the input.