function shorten(arr, sLen) {
    var newArr = [];
    for (var i = 0, len = arr.length; i < len; i++) {
        newArr.push(arr[i].substr(0, sLen));
    }
    return newArr;
}
Render method used to render the value to the element's DOM.
@param result The value to render.
@param container Node into which to render.
@param options Element name.
@nocollapse