MTPipeline.MTSubStr.1
The Substring plug-in can be used to perform a substring operation on a source property and assign that substring to the same or a different target property. To truncate a property, specify a start position of 0 and a specified maximum length.
Tag name |
Value type |
Description |
Source |
String |
Property to perform the extraction on. |
Start |
Integer |
The index in the source string to begin the extraction. To start at the beginning of the string then the index would be 0. |
Length |
Integer |
The length of the substring to extract. |
Tag name |
Value type |
Description |
Target |
String |
Property to store the extracted substring in. |
Tag name |
Value type |
Description |
Substrs |
String |
Denotes a collection of substring extraction operations. |
Substr |
String |
Denotes an individual substring extraction operation. |
<configdata>
<substrs>
<substr>
<source>ConferenceName</source>
<target>ConferenceName</target>
<start ptype="INTEGER">0</start>
<length ptype="INTEGER">30</length>
</substr>
</substrs>
</configdata>
This plug-in has two modes of operation depending on what configuration tags are used. The two modes are extraction mode and assignment mode.