From: Tom Counsell Date: 2005-03-21T19:43:18+09:00 Subject: string.tr and \ Hello I'm a little confused and would appreciate your help. I would like to remove any \ characters from a string as well as some other characters. 'b\\c['.tr('\\','') # => 'bc', which is great. 'b\\c'.tr('\\c','.') # => 'b\\' which is not great. Why does adding extra characters to the tr function stop the removal of \ characters? (ruby 1.8.2 (2004-12-25) [powerpc-darwin7.7.0]) Thanks Tom