This  string function will place a pair of quotation characters "" around the text information contained in the text contained in the  string variable used with this function.

 

Syntax:

textOutput = EncloseInQuotes( anyStringText )

 

Parameter:

Description:

anyStringText

Any word or phrase group of characters assigned to a string.

 

Returns:

The supplied string of characters enclosed in a pair of quotation marks.

 

Example:

VARIABLES: anyStringText, textOutput Type: String
'  Assign Text to a string variable.
anyStringText = "Trading Blox!"
'  Execute the EncloseInQuote function.
textOutput = EncloseInQuotes( anyStringText )
'  Dispaly the text results
PRINT "I like " + textOutput

Returns:

I like "Trading Blox!"

 

Links:

String Functions,

See Also:

 

 


Edit Time: 9/18/2020 1:34:49 PM


Topic ID#: 80

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software