EscapingOptions

Use these constants to specify the options parameter of the Utility.Escape and Utility.Unescape methods. The options parameter specifies to add quotation marks or to remove quotation marks while escaping or unescaping.

  • EscapingOption_NoOptions –(Value: 0) Default behavior. TestStand does not add or remove quotation marks after escaping or unescaping.
  • EscapingOption_SurroundedByQuotes –(Value: 1) For the Utility.Escape method, TestStand surrounds the returned string with quotation marks after escaping the string. For the Utility.Unescape method, TestStand removes the surrounding quotation marks before unescaping the string. The Utility.Unescape method returns an error if you use this option and the string to unescape is not surrounded by quotation marks.

See Also

Engine.Utility

Utility.Escape

Utility.Unescape