dojox.dtl.filter.strings.truncatewords
dojo.require("dojox.dtl.filter.strings");
defined in dojox/dtl/filter/strings.js
Truncates a string after a certain number of words
Usage
function (value, /*Integer*/ arg) (view source)
parameter | type | description |
---|---|---|
value | ||
arg | Integer | Number of words to truncate after |