EndsWith in VB.NET String Class check if the Parameter String EndsWith the Specified String
System.String.EndsWith(String suffix) as Boolean
Parameters:
suffix - The passing String for it EndsWith
Returns:
Boolean - Yes/No
If the String EndsWith the Parameter String it returns True
If the String doesnt EndsWith the Parameter String it return False
For ex : "This is a Test".EndsWith("Test") returns True
"This is a Test".EndsWith("is") returns False
Exceptions:
System.ArgumentNullException : If the argument is null
VB.NET SourceCode
When you execute the program you will get a message box like "The String EndsWith 'BOOKS' "