Length() FunctionCalculates the length of a string and assigns the value to the specified control Syntax:Length(text) Length(id,text) Parameters: id - The id othe control to receive the length (in bytes) of text. (optional) text - Text to calculate the length for. Remarks:
Example: Calculates the size of the current page. <XML id="toolbar"> <toolbar caption="Length() Example"> <control type="toolbar"> <button id=view caption="View Size" action="Length(view,'%SOURCE%'); SetText('Page Source Size: %VIEW%')"> </button> </control> </toolbar> </XML> Compatibility Requires ToolbarBrowser version 2.4.1 or above |