URL
- 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
URL
- Updated on 18 May 2022
- 1 Minute to read
-
DarkLight
-
PDF
Converts the given text to an URL-type text. Returns null
if the text cannot be converted to an URL.
Function signature
URL(text: String) => String
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://userid@www.example.com/") |
http://userid@www.example.com/ |
URL("http://142.42.1.1:8080/") |
http://142.42.1.1:8080/ |
Was this article helpful?