lcIllegalCharacters = "..." lcReplacemets = REPLICATE("*", LEN(lcIllegalCharacters)) ... CHRTRAN(cField, lcIllegalCharacters, lcReplacemets)>I want to check fields in a table for illegal characters and replace them with '*'. This is because I'm running a program that converts table data to XML and the program chokes on illegal characters.
>replace all cField with STRTRAN(cField, IllegalCharacter, '*') >>