Short Description
|
Encloses a string in
single quotation marks.
|
Syntax
|
String quoteString(String input) |
Parameters
|
input
the input string that
you want to enclose in single quotation marks.
|
Return Value
|
This method returns
a string that represents the quoted value. Single quotation marks
are added to the input string. Any single quotation marks that are
found in the original string are preserved by adding another single
quotation mark.
|
Example
|
#set( $input="Person's" ) $CTMUtil.quoteString($input); /* string returned: 'Person''s' */ |