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 |
---|---|
Path of the symbol expression. |
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"]