path.to_string
path.to_string
Function
Returns the current path text.
Syntax
path(text).to_string()
Parameters
None.
Return value
| Type | Description |
|---|---|
| String | Current path text. |
Code Example
result = path('docs/index.md').to_string() // Output: docs/index.md print result
Notes
- to_string does not normalize paths.