The BWn process returns the nth word from a string. For example, the fifth word in a string can be extracted by specifying number 5 in the process name.
The number specified in the process name must be a positive integer.
Words are delimited by spaces.
Note: If the number of words in a string is less than the number specified in the process name, a null string is returned and warning message CTB249W is written to the Rule Activity report.
Table 233 BWn – Extract the nth Word From a String Example
PROCESS Name  | 
Input  | 
Output  | 
|---|---|---|
BW2  | 
The totals are equal.  | 
totals  | 
BW3  | 
The totals are equal.  | 
are  | 
BW4  | 
The totals are equal.  | 
equal  | 
BW7  | 
The totals are equal.  | 
<null string>a  | 
Parent Topic |