You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > 2D Editor Library > getExpression

3.4 getExpression

D2Editor:getExpression()

Returns the contents of the text editor as a UTF-8 encoded string.

Introduced in platform.apiLevel = '2.0'