quotestring Method
|
Encloses a string in
single quotation marks.
|
|
String quoteString(String input)
|
|
input
the input string that
you want to enclose in single quotation marks.
|
|
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.
|
|
#set( $input="Person's" )
$CTMUtil.quoteString($input);
/* string returned: 'Person''s' */
|
Copyright © SAS Institute Inc. All rights reserved.