Hi friends
I want to replace every occurrence of ' to \' in a string . how to
do it . I know i have to use sub method of string . i don’t know how to
use it .
Hi friends
I want to replace every occurrence of ' to \' in a string . how to
do it . I know i have to use sub method of string . i don’t know how to
use it .
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs