substring

Writes a subtring of its text content.

See the javadoc for the substring() method on class java.lang.String for more information.


Tag Summary
 
required <substring beginIndex="value" />
 
full tag <substring beginIndex="value" endIndex="value" />

Required Attributes
 
beginIndex The zero-based index of the start of the substring to be written

Optional Attributes
 
endIndex The zero-based index of the last character in the content to be written

Example
 
<substring
        beginIndex="3"
        endIndex="9" >abcdefghijklmnop</substring>

This substring tag writes "defghi".


© Copyright IBM Corporation 2000, 2006. All Rights Reserved.