ExpressionUtilitiesEscapeStringLiteral Method TIBCO Spotfire 7.12 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: 30.0.11525.4184 (30.0.11525.4184)
Syntax

C#
public static string EscapeStringLiteral(
	string literal
)

Parameters

literal
Type: SystemString
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: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference