dojo.trim
<script src="../../js/dojo.js"></script>
defined in dojo/_base/lang.js
This version of trim() was selected for inclusion into the base due to its compact size and relatively good performance (see Steven Levithan's blog: http://blog.stevenlevithan.com/archives/faster-trim-javascript). The fastest but longest version of this function is located at dojo.string.trim()
Usage
function (/*String*/ str) (view source)
parameter | type | description |
---|---|---|
str | String |