The JAVA Case Converter collection helps changing the cases of existing texts.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings initial commit Sep 15, 2017
src-test/org/toolpage/util/text
src/org/toolpage/util/text Delete Example.java Sep 15, 2017
.classpath initial commit Sep 15, 2017
.project initial commit Sep 15, 2017
LICENSE Initial commit Sep 15, 2017
README.md Update README.md Sep 17, 2017

README.md

JAVA Case Converter

The JAVA Case Converter collection helps changing the cases of existing texts.

Usage

import org.toolpage.util.text.CaseConverter;

public class Example {
	public static void main(String args[]) {
		String input = "The quick brown fox jumps over the lazy dog";
		CaseConverter.convertToUpperCase(input); 	// THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
		CaseConverter.convertToLowerCase(input); 	// the quick brown fox jumps over the lazy dog
		CaseConverter.convertToStartCase(input); 	// The Quick Brown Fox Jumps Over The Lazy Dog
		CaseConverter.convertToCamelCase(input); 	// TheQuickBrownFoxJumpsOverTheLazyDog
		CaseConverter.convertToSnakeCase(input); 	// The_Quick_Brown_Fox_Jumps_Over_The_Lazy_Dog
		CaseConverter.convertToKebabCase(input); 	// the-quick-brown-fox-jumps-over-the-lazy-dog
		CaseConverter.convertToStudlyCaps(input); 	// thE qUIck BRoWN foX jUMPs oVeR tHe lAZY doG
		CaseConverter.invertCase(input); 		// tHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
	}
}

Online Resources

Get more information and online tools for this implementation on https://en.toolpage.org/cat/case-converter