SQUOTE Function

Encloses a string in single quotes.

Syntax

SQUOTE(string)

Syntax Elements

string A DataBasic expression that evaluates to a string.

Examples

L = "JOHN SMITH"
M = SQUOTE(L)

Assigns the value 'JOHN SMITH' to variable M.

S = SQUOTE("THIS IS A TEST.")
PRINT S

Prints the string 'THIS IS A TEST.'