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