LengthCalc Type Attribute
The lengthCalc attribute defines a scripting expression that returns the elements length as an integer value.
Special variables available:
-
self — Element we are calculating the length of
Examples
<String value="MAGIC" lengthType="calc" lengthCalc="4+1"/>
<String value="MAGIC" lengthType="calc" lengthCalc="len(self.name)"/>


