Uri.isValid

bool isValid(string uri)

Tests if the given string is a valid URI identifier. URIs start with a valid scheme followed by ":" and maybe a string identifying the location.

Parameters

uriA URI string

Returns

true if the string is a valid URI