Converts single and double-quote characters within the passed in string to their XML encoded strings.
toQuote(string)
Specifies the string to be converted. The original string is not modified.
Returns a string in which all single and double quote characters are converted to their XML encoded strings.
The following characters are converted as indicated in the following table:
Character |
Result |
---|---|
‘ (single quote) |
' |
“ (double quote) |
" |