From: Brian Candler Date: 2008-09-24T16:55:08+09:00 Subject: Re: How to get a string to print with "special" characters s Kenneth McDonald wrote: > Again, this is for debugging purposes. Thanks for the help. > Ken Do you mean String#inspect? a = "\007foo\nbar" puts a.inspect -- Posted via http://www.ruby-forum.com/.