public static boolean hasExpressionOperators ( final String str ) { boolean result = false ; for ( final char chr : OPERATOR_FIRST_CHARS ) { if ( str . indexOf ( chr ) >= 0 ) { result = true ; break ; } } return result ; }
Check that a string has a char of operators .