Text & patterns
Scalar
parse_dirpath()
Returns the head of the path (the pathname until the last slash) similarly to Python's os.path.dirname. separator options: system, both_slash (default), forward_slash, backslash.
Arguments & returns
2 overloadsparse_dirpath(path)
Scalar
| Overload link | path |
Returns |
|---|---|---|
| #01 | VARCHAR |
VARCHAR |
parse_dirpath(path, separator)
Scalar
| Overload link | path | separator |
Returns |
|---|---|---|---|
| #02 | VARCHAR | VARCHAR |
VARCHAR |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.