2.31.7.Use String.Compare to check if a URI is a file URI
Public Class SamplesCompareInfo
Public Shared Sub Main()
End Sub
Shared Function IsFileURI(ByVal path As String) As Boolean If String.Compare(path, 0, "file:", 0, 5, StringComparison.OrdinalIgnoreCase) = 0 Then
Return True
Else
Return False End If