Programming Tutorials

  • Home
  • Java
  • JavaScript
  • Android
  • C
  • C++
  • Python
  • ASP.net
  • PHP
  • Perl
  • Trends

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 )

Using Proxy to connect to URLs in Ruby

Naming conventions in Ruby on rails

if . . . elsif . . . else in Ruby on rails

Using GServer in Ruby

dRuby client/server mode sample program

POST a form in Ruby

Reading URL content using Ruby (HTTP)

FTP using Ruby

Security in dRuby

SimpleDelegator in Ruby

out() in Ruby

Open and manipulate CSV files in Ruby

date and time in Ruby

Using remote objects under dRuby

What is dRuby?

Latest Articles (in Ruby)

Using Proxy to connect to URLs in Ruby

header() in Ruby

out() in Ruby

Open and manipulate CSV files in Ruby

date and time in Ruby

SimpleDelegator in Ruby

What is dRuby?

dRuby client/server mode sample program

Using remote objects under dRuby

Security in dRuby

FTP using Ruby

Reading URL content using Ruby (HTTP)

POST a form in Ruby

Traversing all files in a directory using Ruby

Active Record in Ruby on Rails

Comment on this tutorial

    categories

  • 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

Subscribe to Tutorials

Related Tutorials

Using Proxy to connect to URLs in Ruby

header() in Ruby

out() in Ruby

Open and manipulate CSV files in Ruby

date and time in Ruby

SimpleDelegator in Ruby

What is dRuby?

dRuby client/server mode sample program

Using remote objects under dRuby

Security in dRuby

FTP using Ruby

Reading URL content using Ruby (HTTP)

POST a form in Ruby

Traversing all files in a directory using Ruby

Active Record in Ruby on Rails

Archived Comments

1. works for me - thanks !!!!!
View Tutorial          By: Vaneeza at 2011-12-19 17:06:09

© 2021 Java-samples.com

Tutorial Archive: Data Science  Android  AJAX  ASP.net  C  C++  C#  Cocoa  Cloud Computing  EJB  Errors  Java  Certification  Interview  iPhone  Javascript  JSF  JSP  Java Beans  J2ME  JDBC  Linux  Mac OS X  MySQL  Perl  PHP  Python  Ruby  SAP  VB.net  EJB  Struts  Trends  WebServices  XML  Office 365  Hibernate

Latest Tutorials on: Data Science  Android  AJAX  ASP.net  C  Cocoa  C++  C#  EJB  Errors  Java  Certification  Interview  iPhone  Javascript  JSF  JSP  Java Beans  J2ME  JDBC  Linux  Mac OS X  MySQL  Perl  PHP  Python  Ruby  SAP  VB.net  EJB  Struts  Cloud Computing  WebServices  XML  Office 365  Hibernate