uri_has_protocol
Description:
public bool uri_has_protocol (
string uri,
string protocol)
Checks if the protocol of a given valid URI matches protocol.
Parameters:
| uri |
a URI string |
| protocol |
a protocol string (e.g. "http") |
Returns:
true if the protocol matches. |