search for: pc1xx

Displaying 1 result from an estimated 1 matches for "pc1xx".

Did you mean: c1xx
2012 Mar 23
7
gsub
hi, im getting tired on this one. i want to replace all forwardslashes with backwardslashes. irb: r = "C:/RAILS/" r.gsub("/", "\\") or r.gsub("/") {(''\''} both give me: "C:\\RAILS\\" how can i use gsub to display only one "\"? regards -- You received this message because you are subscribed to the Google Groups