url.to_string
url.to_string
Function
Returns the raw text of the current URL.
Syntax
url(text).to_string()
Parameters
None.
Return value
| Type | Description |
|---|---|
| String | Current URL text. |
Code Example
result = url('https://btlang.org').to_string() // Output: https://btlang.org print result
Notes
- to_string does not parse or normalize URLs.