xlate question
Kenneth Brody
kenbrody at bestweb.net
Thu Jan 20 12:36:32 PST 2005
Quoting Matthew Williams <matthew.d.williams at gmail.com>:
[...]
rep(15)=xlate(15,chr("34")," ")
>
> That eliminates all single quotes, now I would like to also remove
> commas which is chr("44"), how do I add that to the list of characters
> to translate?
[...]
Simply add the characters you want to convert to spaces to the second
parameter, and make the third parameter longer:
rep(15) = xlate(15, chr("34")&",", " ")
This will xlate a quote into a space, and a comma into a space.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com
More information about the Filepro-list
mailing list