STRINGREPLACEPOS

This activity replaces a portion of the input string. The portion replaced is determined by the specified starting position and length.

NOTE: For best performance, we advise that you limit use of activities such as this to non-intensive parts of your solution.  In particular, you should avoid extensive string manipulations at a process orchestration level inside iterative parts of your solution.  Extensive string manipulation is usually a task best performed in compiled program code.

INPUT Parameters:

STRINGIN: Required

This parameter specifies the string from which the substring is to be extracted.

START: Required

This parameter specifies the starting position in the source string of the characters that are to be replaced.

LENGTH: Required

This parameter specifies the number of source characters to be replaced.

STRINGNEW: Optional

This parameter specifies the string that is to replace the specified position in the source string.  The length does not have to match the number of source characters that are being replaced.

OUTPUT Parameters:

STRINGOUT:

Upon completion, this parameter will contain the resulting string.