# MTSubStr (Assignment Mode)

## Program ID

MTPipeline.MTSubStr.1

## Description

You can also use the Substring plug-in to assign the value of one property to another property.

## Required Input Properties

Tag name | Value type | Description
SourceProp | String | Property to take value from.
Type | Varies | Describes the type of SourceProp/DestProp. See remark below.

## Required Output Properties

Tag name | Value type | Description
DestProp | String | Property to copy value to.

## Additional Configuration Tags

Tag name | Value type | Description
AssignProps | String | Denotes a collection of property value assignment operations.
AssignProp | String | Denotes an individual property value assignment operation.

## Configuration Example

<configdata>
<AssignProps>
<AssignProp>
<SourceProp>ActualStartTime</SourceProp>
<type ptype="DATETIME"></type>
<DestProp>_Timestamp</DestProp>
</AssignProp>
</AssignProps>
</configdata>

## Remarks

The actual value of the Type tag is irrelevant. The ptype is examined to determine the property type of SourceProp and DestProp.

This is not the correct plug-in to use if the assignment of a literal value to a property is needed. For literal value assignments, see the PropGen or the Ruleset plug-in documentation.

## See Also

Substring Plug-in (extraction mode)

PropGen Plug-in