nl_tokens: Finds if data ends with str
pl_tokens: function endsWith ( data , str ) { if ( data . length < str . length ) return false ; if ( data === str ) return true ; return data . lastIndexOf ( str ) === <mask> . length - str . length ; }