URL
Converts text to URL

Description

Converts the given text to an URL-type text. Returns null if the text cannot be converted to an URL.

Function signature

1
URL(text: String) => String
Copied!
Parameter
Description
Text
Text to convert

Examples

Formula
Return value
URL("http://foo.com/blah_blah")
http://foo.com/blah_blah
URL("https://www.example.com/foo/?bar=baz&inga=42&quux")
https://www.example.com/foo/?bar=baz&inga=42&quux
URL("http://142.42.1.1:8080/")
http://142.42.1.1:8080/
Last modified 1yr ago
Export as PDF
Copy link