The StringFind command searches for a specified string within an input string. The command reports the position where the specified string is found. This search is case sensitive. The parameters described in the table below can be defined from the process command window.
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). |
Position |
Position of the Nth occurrence of the string. This position is the location of the first character of the substring starting at zero. A value of –1 indicates that the desired occurrence of the string was not found. This variable is a Count variable. |
String |
The variable that contains the input string. This variable can be a FileName or Parameter. |
Find |
The string that is to be found within the input string. This variable is a constant value that you input, such as a FileName or a Parameter. |
Occurrence |
The number of the occurrence that is to be found. This value is placed in a Count variable or you can specify a Constant value for this. |