GetProtocolFromURL (open)

Returns the protocol from an URL

Syntax

LOADLIB "wh::internet/urls.whlib";

STRING FUNCTION GetProtocolFromURL(STRING url)

Parameters

STRING url

URL

Return value

STRING

Protocol (eg 'ftp' from 'ftp://host/path')