Hi.

I want to create a string with the backslash character followed by the
number 37.  Whenever I try to do this, ruby always creates "\037" !

e.g. in irb:

>> string = "\37"
=> "\037"

How can I avoid this?   I tried different quoting, escaping, etc.

I am missing something fundamental here :-(

Any advice gratefully received.

-- 
Posted via http://www.ruby-forum.com/.