URL decode a string in Ruby
By: Jeeva
unescape(string)URL-decode a string.
string = CGI::unescape("%27Stop%21%27+said+Fred") # => "'Stop!' said Fred"
Most Viewed Articles (in Ruby ) |
Latest Articles (in Ruby) |
Comment on this tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Subscribe to Tutorials
Related Tutorials
Archived Comments
1. works for me - thanks !!!!!
View Tutorial By: Vaneeza at 2011-12-19 17:06:09