String.Quoted |
Top Previous Next |
Syntax function String.Quoted(Str: string): string
Alternative Names
Description Returns the string Str but surrounded by a single quote character (') and each single quote character is replaced by two single quote characters.
Example The following script displays a dialog with the string value quoted.
execute udsblock as begin /* the double single quote is used to make sure the string isn't terminated in the script, but the value is actually a single quote */ valueout = String.Quoted('This is a test, isn''t it?'); GUI.ShowMessage('This is the string >' || valueout || '< displayed'); end
Dialog in the script example above
|