Hidden Gems
The Appoxy Developers Journal
Monday, January 17, 2011
How to Strip All Non-Alphanumeric Characters from a String in Ruby
x.gsub(/[^[:alnum:]]/, '')
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment