This is probably a very stupid question.. I am trying to extract a substring from a variable and am unsure how to determine the last character... I tried... put char 1 to last character of tdata into tsubstring ...but this fails. Thanks for any help! Warren