Displaying 1 result from an estimated 1 matches for "vfpfeqjizzuj".
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