Getting Started > Use Lua Scripts > Method Reference

Method Reference

Topics in this Section

The Connector Framework server supports several methods, which are listed in Table 1.
 
Converts the encoding of the string passed in from UTF8 and returns the converted string.
Parse the given separated values string into a collection of individual strings.
Takes the action parameters as a table instead of the full action as a string to avoid issues with parameter values containing “&”.
Takes two strings and returns True if the second one is longer than the first.
Extracts the zip file specified by path to the location specified by dest.
Gets the next section in a document, allowing you to perform find or add operations on every section.
Returns a Boolean specifying if the field has the specified attribute passed in by name.
Returns first XMLAttr attribute object for this element.
Returns XMLNode that is the first child of this node.
Returns XMLNode that is the last child of this node.
Returns XmlNode that is the next sibling of this node.
Returns the parent XmlNode of the node.
Returns XmlNode that is the previous sibling of this node.
Returns XmlAttr object for the next attribute in the parent element.
Returns XmlAttr object for the previous attribute in the parent element.
Returns the length of the sub match. The default value of 0 returns for the full match.
Returns a table of strings if you have multiple values for a key (for example, a CSV or numbered like keyN).