From: Robert Dober Date: 2007-05-03T14:21:15+09:00 Subject: Re: Question regarding tr method in Strings Class On 5/3/07, Michael W. Ryder <_mwryder@worldnet.att.net> wrote: > Your solution is about the same as the solution I found "clumsy". You are not coming from a Unix background, are you? We are used to pasting things together like that, but I respect your taste. > I can > use a.tr to remove multiple different characters such as: a ="This is a > test, this is only a test!". a.tr(",!", "") will remove the comma and > exclamation mark. So why can't I use the same method to remove the > comma and replace the exclamation mark with a period? I know that there > are escape codes for things like tabs and new-lines, so I was wondering > if there was one for a null character. I understood that you wanted to delete a character not to replace it with a null character, which should be possible via \000. But I fail to see the purpose of this in the context of your question. Robert > > -- You see things; and you say Why? But I dream things that never were; and I say Why not? -- George Bernard Shaw