Wiki source for FunctionQuote


Show raw source

=====Function quote=====

This function is part of the core function set.

====Name====
**quote** concatenates and quotes arguments


====Synopsis====
quote( arg [arg ...])


====Description====
Concatenates arguments and quotes them using the standard Java quoting rules.
Double quotes surround the string. Any double quote or backslash (\\) characters in the string are escaped with a backslash (\\).


Example
%%
echo quote(Hi'"'There)
%%

Result
%%
"Hi\"There"
%%


Throws an exception if the class is not found or cannot be constructed.

----
[[Commands]]
[[Functions]]

Valid XHTML :: Valid CSS: :: Powered by WikkaWiki