From: Alex Gutteridge Date: 2013-02-21T20:20:58+09:00 Subject: Re: backslash substitution On 21.02.2013 10:57, Mario Ruiz wrote: > I cannot modify the string by myself... the string it is like it > is... > is given as an argument so i cannot modify it by writing doubles Carlo's point is that your string as it stands does not contain any backslashes. E.g. >> a=" xxxxxx\tttt\3.4.2\uuuu" => " xxxxxx\tttt\003.4.2uuuu" >> puts a xxxxxx ttt.4.2uuuu => nil So your attempt to substitute them is destined to fail. -- Alex Gutteridge