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: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
public static string EscapeStringLiteral( string literal )
Parameters
- literal
- Type: SystemString
The unescaped string literal.
Return Value
Type: StringThe escaped string literal.
Examples
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also