Ruby on Rails
Wednesday, April 6, 2011
remove & ruby
I have a string variable contains "&". When i inspect it "&" is get replaced with "\302\240". Son now i can remove it by string_variable.gsub(/\302\240/,"").
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment