The STRMID function extracts a substring from a string expression. The result of the function is a string of Length characters taken from Expression , starting at character position First_Character .
The expression from which the substring is to be extracted. If this argument is not a string, it is converted using IDL's default formatting rules. If Expression is an array, the result is an array with the same structure, where each element contains the substring of the corresponding Expression element.