1件ヒット
[1-1件を表示]
(0.030秒)
別のキーワード
検索結果
-
CGI
. unescape(string) -> String (54376.0) -
与えられた文字列を URL デコードした文字列を新しく作成し返します。
与えられた文字列を 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"