Hi Phil,

On 6 May 2009, at 11:10, phil wrote:

> I cannot figure out how to get this into a string variable in ruby!

display = "\\\\.\\DISPLAY3"

puts display

--> \\.\DISPLAY3

I think the reason you were having problems is that irb shows the  
string complete with
escaping characters.  You need to output the string to see what it  
actually contains.

Regards,

Tony.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to