るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.018秒)
トップページ > クエリ:%2F[x] > クエリ:unescape[x] > クラス:CGI[x]

別のキーワード

  1. sax2parser listen
  2. rexml/parsers/sax2parser listen
  3. open3 popen2
  4. open3 popen2e
  5. socket iff_link2

ライブラリ

検索結果

CGI.unescape(string) -> String (18120.0)

与えられた文字列を URL デコードした文字列を新しく作成し返します。

...しく作成し返します。

@param string URL エンコードされている文字列を指定します。

require "cgi"

p CGI.unescape('%40%23%23') #=> "@##"

p CGI.unescape("http%3A%2F%2Fwww.example.com%2Findex.rss")
#=> "http://www.example.com/index.rss"...