Hello all,
I’m in my 4 month of Ruby on Rails and had a question about escaping
special characters.
How do I escape a period(.)?
ie (John F. oobar)
I wish to change the period to an ASCII representation.
Thank you for any help.
JohnM
Hello all,
I’m in my 4 month of Ruby on Rails and had a question about escaping
special characters.
How do I escape a period(.)?
ie (John F. oobar)
I wish to change the period to an ASCII representation.
Thank you for any help.
JohnM
John M. wrote:
Hello all,
I’m in my 4 month of Ruby on Rails and had a question about escaping
special characters.
How do I escape a period(.)?ie (John F. oobar)
I wish to change the period to an ASCII representation.
The period is an ASCII character. It has no special meaning outside of
regexps, and needs no escaping except in that context.
Thank you for any help.
JohnM
Best,
–Â
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
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