IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Defining and transforming data > Transforming data > Transforming data using XML maps > Functions and transforms > IBM supplied transform types
XML transform: Substring
Extracts information from the input string and moves the extracted string to the output element.
Properties
You can set the following properties for this transform in the Properties view:
- Delimiter
- Substring index
- Specify an XPath expression as a condition. The transform will only run if the condition is fulfilled.
Example
The substring lastname, firstname with a "," delimiter and a substring index of 0 returns the value lastname. If you changed the substring index to 1 the output would be firstname.