public static boolean parseMoveKeyword(final char[] query, int offset) {
    if (query.length < (offset + 4)) {
      return false;
    }

    return (query[offset] | 32) == 'm'
        && (query[offset + 1] | 32) == 'o'
        && (query[offset + 2] | 32) == 'v'
        && (query[offset + 3] | 32) == 'e';
  }
public static boolean parseMoveKeyword ( final char [ ] query , int offset ) { if ( query . length < ( offset + 4 ) ) { return false ; } return ( query [ offset ] | 32 ) == 'm' && ( query [ offset + 1 ] | 32 ) == 'o' && ( query [ offset + 2 ] | 32 ) == 'v' && ( query [ offset + 3 ] | 32 ) == 'e' ; }
Parse string to check presence of MOVE keyword regardless of case.

@param query char[] of the query statement
@param offset position of query to start checking
@return boolean indicates presence of word