ExpressionUtilities UnescapeIdentifier Method TIBCO Spotfire 6.0 API Reference
Unescape an identifier (a column/hierarchy/view name).

Removes the '[' and ']' characters at the beginning and end of the string and replaces all occurrences of ']]' with a single ']' character.

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

public static string UnescapeIdentifier(
	string identifier
)

Parameters

identifier
Type: System String
The escaped identifier.

Return Value

Type: String
The unescaped identifier.
Exceptions

ExceptionCondition
System ArgumentExceptionThrown if the identifier does not start with '[' and ends with ']'.
Remarks

The identifier must start with the '[' character and end with the ']' character.
Examples

UnescapeIdentifier("[a]]]") gives the result "a]"
See Also