unescapeURIComponent(string) -> StringRuby 3.2 から[permalink][rdoc][edit] [added by cgi/util]-
与えられた文字列を CGI.escapeURIComponent でエンコードされたものとして URL デコードした文字列を新しく作成し返します。
- [PARAM]
string: - URL エンコードされている文字列を指定します。
require "cgi" p CGI.unescapeURIComponent("%27Stop%21%27%20said%20Fred") #=> "'Stop!' said Fred"[SEE_ALSO] CGI.unescape, CGI.escapeURIComponent
- [PARAM]