Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Take a sentence and capitalize it using the type specified.
- Title Case = All words are capitalized, except non-initial articles like “a, the, and”, etc.
- Lower Case = All letters in all words are lowercase
- Sentence Case = Capitalization just like a standard English sentence, e.g. “The damn has broken.”
- Meme Case = Every other letter is randomly capitalized, except the first letter e.g. "wHeRe dO yOu tHiNk yOuRE gOIng?"
- ==== START OF EXAMPLES ====
- Type: Sentence Case
- Sentence: The dog went to the market to buy an onion.
- Result: The dog went to the market to buy an onion.
- Type: Title Case
- Sentence: The dog went to the market to buy an onion.
- Result: The Dog Went to the Market to Buy an Onion.
- Type: Lower Case
- Sentence: The dog went to the market to buy an onion.
- Result: the dog went to the market to buy an onion.
- Type: Meme Case
- Sentence: The dog went to the market to buy an onion.
- Result: tHe dOG wEnT tO tHe mARKeT tO bUY aN oNIon.
- ==== END OF EXAMPLES ====
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement