Icon ExtractPath

Unit: WebCore

Available In: Client and Server Applications

function ExtractPath(const Value: String;
                     Delimiter: String=SLASH): String

The ExtractPath function returns the path in the string input parameter. The return value will be a string containing the path, if one exists.

Examples

X := ExtractPath('https://www.elevatesoft.com/index.html');  // X is 'https://www.elevatesoft.com'
Image