getContent

[ Function ]

public getContent();

Returns the content of the symbol expression.

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string | null

Content of the symbol expression.

getContent 1:

Available from version 1.10

Sample - JavaScript

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