>tcName = "Mr Droopy Proffler" > >* Strip common name prefixes. >m.ReplaceWith = '' >m.PrefixSearchString = [ MR MRS MS MISS DR PROF SIR MASTER REV REVERAND ETC ] >FOR x = 1 TO GETWORDCOUNT( m.PrefixSearchString ) > m.LookFor = ALLTRIM(UPPER(GETWORDNUM(m.PrefixSearchString,x))) > tcName = CHRTRAN(UPPER(tcName),m.LookFor,m.ReplaceWith) >ENDFOR >Replace chrtran with strtran! Chrtran is for single characters, independent of their relative posistions. Strtran is for strings.