#SIZE
Syntax
#SIZE(Variable)
Parameters
- Variable - A variable containing a string or binary data.
Description
#SIZE returns the number of bytes in a string, which may contain binary data.
For backward compatibility, #SIZE will also return the number of items in a collection, but #COUNT should be used instead.
Related
#COUNT returns the number of items in a collection.
Example
#NEW($Text)Hello World!#ENDNEW
There are #SIZE($Text) bytes in "$Text"
Result
There are 12 bytes in "Hello World!"