Summary
This command measures the length of the string or list specified by the “value” parameter.
Attributes
- none
Parameters
- value
Example
<script scriptId="importText">
<body>
<s:if>
<s:gte>
<s:length>
<s:value>
<s:import inputPath="importText"/>
</s:value>
</s:length>
<s:number value="7"/>
</s:gte>
<s:substr>
<s:stringPath path=":value"/>
<s:number value="0"/>
<s:number value="7"/>
</s:substr>
</s:if>
</body>
</script>Example
<script scriptId="importText">
<body>
<s:if>
<s:gte>
<s:length>
<s:value>
<s:import inputPath="importText"/>
</s:value>
</s:length>
<s:number value="7"/>
</s:gte>
<s:substr>
<s:stringPath path=":value"/>
<s:number value="0"/>
<s:number value="7"/>
</s:substr>
</s:if>
</body>
</script>Need more help?
Please visit the Fountayn Contact Information page.