ExpressionUtilities EscapeStringLiteral Method TIBCO Spotfire 6.5 API Reference
Escape string literal to be able to use special characters, adds escape sequences and " characters to the string.

All "-characters are replace with "" and "-characters are added to the start and end of the string.

Namespace: Spotfire.Dxp.Data.Expressions
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax

public static string EscapeStringLiteral(
	string literal
)

Parameters

literal
Type: System String
The unescaped string literal.

Return Value

Type: String
The escaped string literal.
Examples

EscapeStringLiteral("a\"b") gives the result "\"a\"\"b\""
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also