public static boolean parseAsKeyword ( final char [ ] query , int offset ) { if ( query . length < ( offset + 2 ) ) { return false ; } return ( query [ offset ] | 32 ) == ' ' && ( query [ offset + 1 ] | 32 ) == ' ' ; }
Parse string to check presence of AS keyword regardless of case .