// String functions.
registerFunction("string.slice", new SliceFunction());
registerFunction("string.find", new FindFunction());
registerFunction("string.length", new LengthFunction());
registerFunction("string.crc", new CrcFunction());
// Escaping functions.
registerFunction("url_escape", new UrlEscapeFunction("UTF-8"), true);
registerEscapeMode("url", new UrlEscapeFunction("UTF-8"));
registerFunction("html_escape", new HtmlEscapeFunction(false), true);