gir.parseString

Top  Previous  Next

This function parses a string for the square bracket notation. For example

 

"Hello my Lua script is version: [_VERSION]" will be parsed to

 

"Hello my Lua script is version: 5.1"

Definition

pstr = gir.parseString(str)

 

Name

Type

Description

str

string

Original String

pstr

string

Parsed String