A character string.
The default value is (\"). The character to place at the beginning and end of Input_String.
Returns the quoted value - useful for expressions generating other expressions.
QUOTE() places quotes around Input_String and returns the result as a string. QUOTE() is most useful within Xbasic scripts.If Quote_Character is not supplied, Alpha Anywhere uses double quotes (prefixed with the escape character "\" because you can't otherwise use double quotes within double quotes). (e.g. "\"Alpha\"" ).
? quote("Alpha") = "Alpha" ? quote("Alpha","'") = "'Alpha'"
The QUOTE() function is intended for use to help you form filter and order expression in Xbasic. The following examples in the Interactive window illustrate how the function can be used:
query.filter = "company = " + quote("Alpha") ? query.filter = company = "Alpha" WhatName = "Alpha" query.filter = "company = " + quote(WhatName) ? query.filter = company = "Alpha"