Hi I am, trying to split an number of terms such as str9=dg_eyemouth.out to take off the file extension print,strsplit(str9,'.out',/extract,/regex) but this gives dg_eye h any ideas thanks russ