Am Freitag 12 Juni 2009 20:35:43 schrieb Peter Tosh: > But in my program I need to compare it to a string from the database: > "c:\test". When Ruby internally stores it as "c:\\test", how do I > compare the two? ruby internally stores it as 01100011001110100101110001110100011001010111001101110100 - so does your database. And you compare them using == usually.