dojo.string
dojo.require("dojo.string");
defined in dojo/string.js
String utilities for Dojo
FunctionsBack to top
Pad a string to guarantee that it is at least `size` length by filling with the character `ch` at either the start or end of the string. Pads at the start, by default.

Performs parameterized substitutions on a string. Throws an exception if any parameter is unmatched.
trims whitespaces from both sides of the string