USUBSTR returns a substring of a UTF string.
>>-USUBSTR(x,i,j)----------------------------------------------><
If x has CHARACTER type, then the string must contain valid UTF-8 data. If not, the program is in error.
If x has WIDECHAR type, then the string must contain valid UTF-16 data. If not, the program is in error.
If x has CHARACTER type, then USUBSTR(x,i,j) will return a CHARACTER string containing the j UTF-8 characters in x starting with the ith UTF-8 character.
If x has WIDECHAR type, then USUBSTR(x,i,j) will return a WIDECHAR string containing the j UTF-16 characters in x starting with the ith UTF-16 character.
In general, USUBSTR(x,i,j) will not equal SUBSTR(x,i,j).