URIToFilename function
Convert a URI to a filename.
Declaration
function URIToFilename(const URI: string; out Filename: string)
: BooleanArguments
URI | URI to analyse. |
Filename | Resulting filename. |
Function result
True if a filename was extracted from the URI.Description
URIToFilename returns a filename (using the correct
Path Delimiter character) from
URI. The
URI
must be of protocol
File or have no protocol.Errors
If the URI contains an unsupported protocol,
False is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
