public static boolean isFirstCap ( String str ) { if ( isAllCap ( str ) ) return false ; if ( str . length ( ) > 0 && Character . isLetter ( str . charAt ( 0 ) ) && Character . isUpperCase ( str . charAt ( 0 ) ) ) { return true ; } return false ; }
Checks if is first cap .