<xsd:complexType name="SubstringFunctionType">
<xsd:annotation>
<xsd:documentation>The substring function takes a single string component and produces a single value that contains a portion of the original string. The substring_start attribute defines the starting position in the original string. Note, to include the first character of the string, the start position would be 1. Also note that a value less than one also means starting at the first character of the string. The substring_length attribute defines how many character after and including the starting character to include. Note that a substring_length value greater than the actual length of the string or a negative value means to include all the characters after the starting character. For example assume a basic component element that returns the value "abcdefg" with a substring_start value of 3 and a substring_length value of 2. The local_variable element would be evaluate to have a single value of "cd". If the string component used by the substring function returns multiple values, then the substring operation is performed multiple times and results in multiple values for the component.</xsd:documentation>
</xsd:annotation>
<xsd:sequence minOccurs="1" maxOccurs="1">
<xsd:group ref="oval-def:ComponentGroup" />
</xsd:sequence>
<xsd:attribute name="substring_start" type="xsd:int" use="required" />
<xsd:attribute name="substring_length" type="xsd:int" use="required" />
</xsd:complexType>
|