public static final char parseChar ( CharSequence cs , int beginIndex , int endIndex ) { if ( endIndex - beginIndex != 1 ) { throw new IllegalArgumentException ( "input length must be 1" ) ; } return cs . charAt ( beginIndex ) ; }
Returns char from input .