Home
Features
Toolbar Library
Forum
Download
Support
Tutorial
Manual
3. Reference
Triggers
Controls
Variables
System Variables
Global Values
Functions
AutoFill()
Back()
Beep()
CheckLinks()
Checksum()
Click()
Command()
Customize()
DeleteOption()
Enable()
Execute()
ExportLinks()
Forward()
GetFolderIcon()
GetQuery()
GetSystemIcon()
Header()
Highlight()
HistoryMenu()
Home()
IfExactMatch()
IfMatch()
ImportValue()
ImportCaption()
ImportIntValue()
ImportXMLValue()
Length()
LoadMenu()
Menu()
OpenURL()
Options()
PageText()
PlaySound()
PopupManager()
Refresh()
Replace()
ReplaceAll()
Resize()
ResizeClient()
Redraw()
Save()
Search()
SearchBack()
SearchLast()
SearchNext()
SearchPage()
SetCaption()
SetClipboard()
SetFocus()
SetFontSize()
SetIcon()
SetOption()
SetParam()
SetText()
SetStatusText()
SetTooltip()
SetUserAgent()
SetValue()
Show()
Stop()
StripHTML()
ToolbarMenu()
TruncateOption()
UpdateToolbar()
Zoom()
Text Functions
Length() Function
Calculates 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:
the id parameter is optional. If ommited, the current control will receive the length value.
The text parameter can contain variables.
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
Website Popularity Rank
|
Build Your Own Toolbar
|
Free Download
|
Custom Toolbars
|
Features
|
Contact Us
ToolbarBrowser is a freeware project supported by
Trellian Limited
. |
Privacy Policy