Neeraj Mishra

A crazy computer and programming lover. He spend most of his time in programming, blogging and helping other programming geeks.

Java String Comparison

String class in Java provides different methods for comparing strings or substrings within strings. In this tutorial I will discuss about those Java string comparison methods.   equals() and equalsIgnoreCase() We can use equals() method to check equality of two strings. It has following syntax. Syntax boolean equals(String str)   Here str is the String …

Java String Comparison Read More »