quoted(
TEXT
)

The quoted( function returns a quoted version of the supplied text.


Parameters

This function has one parameter:

text – the original text


Description

This function surrounds the supplied text with double quote characters ("). If the original text contains any double quotes they will be doubled, making this a legal string constant (which could be used in an execute statement, for example).

quoted({Hello World}) ☞ "Hello World"
quoted({Add "quotes" to text}) ☞ "Add ""quotes"" to text"

Note: This function is equivalent to:

{"}+replace(thetext,{"},{""})+{"}

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.