Summary
This command creates a substring from the first argument.
The start position of the string is indicated by the second argument, and the length is indicated by the third argument. The third argument is optional, and takes the rest of the string beyond the start position no matter the length when not specified.
Attributes
- none
Parameters
- one string command
- one number command
- one number command (optional)
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.