private boolean isNotSymbol ( String text , int index , char c ) { if ( index >= 0 && index < text . length ( ) ) { return text . charAt ( index ) != c ; } return true ; }
Checking if symbol is not eq to c