Purpose

XQUOTE envelops a string with a specified character or the first character in the specified string.
 

Syntax

variable = XQUOTE (operand1,operand2)
 

Operation

variable is the resulting string
operand1
is any valid alphanumeric string
operand2
is an alphanumeric or literal specifying the character to envelop the string
 

Remarks
 

 

Example
 

$A = XQUOTE("it’s", "!") ..........gives $A = !it’s!

but also

$A = XQUOTE(“it’s", “!NO").......gives $A =!it’s!
 

 

Comment on this topic

Topic ID: 520102