parse Camel Case with regex - Java java.lang

Java examples for java.lang:String Case

Description

parse Camel Case with regex

Demo Code


//package com.java2s;

public class Main {
    public static String[] parseCamelCase(final String s) {
        return s.split("(?<!^)(?=[A-Z])");
    }/*from  w  ww. ja v  a2s  . co  m*/
}

Related Tutorials