>>>This goes into an endless loop for me. It is not stripping out the period so it just keeps looping.
>>>
>>>
>>>tcName = 'Amerson, Jr., Harry L'
>>>
>>>* Strip periods
>>>DO WHILE AT('.',tcName) > 0
>>> CHRTRAN(tcName,'.','')
>>>ENDDO
>>>
>>>
>>>Oh, and I didn't look at the help, but the intellisense was pretty clear on the syntax. I may have missed something though. Sorry if I did, but I would really like some help here. Or maybe some suggestions on a better way to do it.
>>
>>
>>Hi Jay,
>>
>> don't you need the result from CHRTRAN to go into a variable of somekind?
>>
>> And, since you are doing only one character change, why not STRTRAN, instead of CHRTRAN?
>>
>>HTH
>>Beth
>
>That was the issue. I was not putting the result anywhere. On the second point, that was just a sample string. There could be many replaces in the string, not just one.
Uses STRTRAN, it is a better choice.