nl_tokens: Returns <code > true< / code > if substring exist at given offset in a string .
pl_tokens: public static boolean isSubstringAt ( final String string , final String substring , final int offset ) { int len = substring . length ( ) ; int <mask> = offset + len ; if ( max > string . length ( ) ) { return false ; } int ndx = 0 ; for ( int i = offset ; i < max ; i ++ , ndx ++ ) { if ( string . charAt ( i ) != substring . charAt ( ndx ) ) { return false ; } } return true ; }