public static String upperWord(CharSequence cs, char c) {
    """
	将一个字符串某一个字符后面的字母变成大写，比如
	<p>
	
	<pre>
	upperWord("hello-world", '-') => "helloWorld"
	</pre>
	
	@param cs
	字符串
	@param c
	分隔符
	@return 转换后字符串
    """
        StringBuilder sb = new StringBuilder();
        int len = cs.length();
        for (int i = 0; i < len; i++) {
            char ch = cs.charAt(i);
            if (ch == c) {
                do {
                    i++;
                    if (i >= len)
                        return sb.toString();
                    ch = cs.charAt(i);
                } while (ch == c);
                sb.append(Character.toUpperCase(ch));
            } else {
                sb.append(ch);
            }
        }
        return sb.toString();
    }
public static String upperWord(CharSequence cs, char c) {
        StringBuilder sb = new StringBuilder();
        int len = cs.length();
        for (int i = 0; i < len; i++) {
            char ch = cs.charAt(i);
            if (ch == c) {
                do {
                    i++;
                    if (i >= len)
                        return sb.toString();
                    ch = cs.charAt(i);
                } while (ch == c);
                sb.append(Character.toUpperCase(ch));
            } else {
                sb.append(ch);
            }
        }
        return sb.toString();
    }
public static String upperWord ( CharSequence cs , char c ) { StringBuilder sb = new StringBuilder ( ) ; int len = cs . length ( ) ; for ( int i = 0 ; i < len ; i ++ ) { char ch = cs . charAt ( i ) ; if ( ch == c ) { do { i ++ ; if ( i >= len ) return sb . toString ( ) ; ch = cs . charAt ( i ) ; } while ( ch == c ) ; sb . append ( Character . toUpperCase ( ch ) ) ; } else { sb . append ( ch ) ; } } return sb . toString ( ) ; }
将一个字符串某一个字符后面的字母变成大写，比如
<p>

<pre>
upperWord("hello-world", '-') => "helloWorld"
</pre>

@param cs
字符串
@param c
分隔符
@return 转换后字符串
将一个字符串某一个字符后面的字母变成大写，比如 <p >