Imports SystemPublic Class MainClass Shared Sub Main() Dim river As String = " www.rntsoft.com " Console.WriteLine(river.EndsWith("I")) Console.WriteLine(river.EndsWith("i")) End Sub End Class