getPathTokens

[ Function ]

public getPathTokens();

Returns the path of the symbol expression as an array of its components.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string[] | null

Path of the symbol expression.

getPathTokens 1:

Available from version 1.10

Sample - JavaScript

var symbolExpression = new TcHmi.SymbolExpression('%i%MySymbol[0]::A::B%/i%');
var pathTokens = symbolExpression.getPathTokens();
console.log(pathTokens); // ["[0]", "A", "B"]