The strsubset Statement
The strsubset statement copies a subset of the input string (second) argument to the output string (first) argument. The subset begins at the specified index (third) argument. The number of characters in the subset is specified using the length (fourth) argument. The syntax of the strsubset statement is shown below.
// copy the first x characters in strSource to strSub
strsubset strSub, strSource, NA, x