325N/A A string templating utility
919N/A * No change to this utility, but
Y.Lang.sub was added to the YUI core. This
919N/A is a lightweight version of the substitute utility that follows the same
919N/A templating syntax, but lacks recursive replacements, object dumping, and
919N/A string formatting. The advantage is that it is very small, and available
919N/A in the YUI core -- perhaps the regular expression implementation will be
919N/A faster than the string manipulation that happens in substitute in some
919N/A * substitute has a 'recurse' option to support nested templates (the previous
919N/A default behavior). Normal operation is now a single level substitution which
919N/A is tolerant of brackets in the replacement string.