sizeof
Calculates the size of a variables contents and stores the result in designated variable.
Attributes:
var: the variable of which to compute the size
result: the variable in which to store the size
type: "length" to compute string length, "bytes" to compute the number of bytes in a hex string
Examples:
<set vars="Astring,ANint" values="Joe Smith,3341" />
<sizeof var="Astring" result="StringLength" type="length" /> result: length = 9
<sizeof var="ANint" result="StringLength" type="length" /> result: length = 4
---------
<set var="HexValue" value="FFFE" />
<sizeof var="HexValue" result="Hexbytes" type="bytes" /> HexValue=2