query
On this page

escapeURL

lib.escapeURL

Docs pulled from | This Revision | about 1 hour ago


Escape the string so it can be safely placed inside a URL query.

Inputs

string
1. Function argument

Type

escapeURL :: string -> string

Examples

lib.strings.escapeURL usage example

escapeURL "foo/bar baz"
=> "foo%2Fbar%20baz"
(lib.strings.escapeURL)

Noogle detected

Aliases

Implementation

This function is implemented in c++ and is part of the native nix runtime.