getPath

[ Function ]

public getPath();

Returns the path of the symbol expression.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string | null

Path of the symbol expression.

getPath 1:

Available from version 1.10

Sample - JavaScript

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