The "assigns" in the following code is not working. I don't know if assigns is what i should be using. I need to retrieve characters from line1. The variables: last, xxpos, eqpos contain certain position numbers in string line1. Any help is much appreciated. Thanks.