Functiondojox.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)
parametertypedescription
value  
argIntegerNumber of words to truncate after