Subject: Re: How to replace "\" from string.
From: Hans Mackowiak <hanmac@ x e
Date: Fri, 22 Jul 2011 00:20:43 +0900
References: 385611
In-reply-to: 385611
path = "C:\Gaurang\ruby\demo.xls"
is not valid! you NEED
path = "C:\\Gaurang\\ruby\\demo.xls"
or
path = 'C:\Gaurang\ruby\demo.xls'
--
Posted via http://www.ruby-forum.com/.