The Substring command

The Substring command allows the user to parse a string into a smaller string.

Field

Description

Label

Specifies the unique label of this process command. This label allows other commands to branch to this command. The label that you type here appears in the Label column on the EC Gateway Process Window.

Disable command

Disabling the command will allow temporary modification of the process statements. This allows for testing of the statements for error-free robustness. The command that has been disabled will not show in the script file (.pfs file).

Destination String

The user can specify the Parameter of the substring.

Source String

The user can specify the location of the Source String as a FileName or Parameter.

Substring Start

There are three choices available upon clicking on the arrow icon beside the field: Count, Delimiter…. opens the Delimiter Selection window. If you select a delimiter, a second window displays prompting you for the start number for the delimiter. The third choice is Constant…. Clicking on this option will open the Constant Start Position window. Use this window to enter the start position of the substring.

Substring Length

The user determines the length of the substring desired. There are three choices available upon clicking on the arrow icon beside the field: Count, and Delimiter…. that opens the Delimiter Selection window. If you select a delimiter, a second window displays prompting you for the length of the delimiter. The third choice is Constant…. Clicking on this option will open the Constant length window.