nl_tokens: Turns an array into a sentence joined by a specified connector - e . g . :
pl_tokens: function ( items , connector ) { var length = items . length , head , tail ; if ( length <= 1 ) { return items [ 0 ] ; } else { head = items . slice ( 0 , length - 1 ) ; tail = items [ length - 1 ] ; return Ext . util . Format . format ( "{0} {1} {2}" , head . <mask> ( ", " ) , connector || 'and' , tail ) ; } }