getName

[ Function ]

public getName();

Returns the name of the symbol expression.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string | null

Name of the symbol expression.

getName 1:

Available from version 1.10

Sample - JavaScript

var symbolExpression = new TcHmi.SymbolExpression('%i%MySymbol[0]::A::B%/i%');
var name = symbolExpression.getName();
console.log(name); // MySymbol