String::HasProtocol

String::HasProtocol
static bool HasProtocol(const char* path);
bool HasProtocol() const;
Description

HasProtocol determines whether there is any protocol (such as 'file://', 'http://') in front of the string which represents a file path.

Parameters
Parameters 
Description 
const char* path 
Pointer to the path name which is scanned for protocol. 
Return Value

A Boolean value of true if there is any protocol in the file path.