MTSubStr (Extraction Mode)

Program ID

MTPipeline.MTSubStr.1

Description

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.

Required Input Properties

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.

Required Output Properties

Tag name

Value type

Description

Target

String

Property to store the extracted substring in.

Additional Configuration Tags

Tag name

Value type

Description

Substrs

String

Denotes a collection of substring extraction operations.

Substr

String

Denotes an individual substring extraction operation.

Configuration Example

<configdata>
  <substrs>
     <substr>
        <source>ConferenceName</source>
        <target>ConferenceName</target>
        <start ptype="INTEGER">0</start>
        <length ptype="INTEGER">30</length>
     </substr>
  </substrs>
</configdata>

Remarks

This plug-in has two modes of operation depending on what configuration tags are used. The two modes are extraction mode and assignment mode.

See Also

Substring Plug-in (assignment mode)