FILL BLANK
-
The following SAS program is submitted:
What value will SAS assign to Pos? Enter your numeric answer in the space below.
FILL BLANK
-
The following SAS program is submitted:
What value will SAS assign to Pos? Enter your numeric answer in the space below.
The FIND function in SAS is used to find the position of a substring within a string. The parameters for the FIND function in this program are as follows: the string ('Text'), the substring to search for ('US'), an option to ignore case ('i'), and the start position for the search (5). This means SAS will start searching for 'US' from the 5th character of the string. The input string is 'US - Australia - Denmark'. Starting from the 5th character, which is ' ', the next 'US' is found at the 12th position. Therefore, SAS will assign the value 12 to Pos.
7 is correct