charAt(int index): This method returns the character at the specified index position in a string.
isEmpty(): This method checks if a string is empty or not and returns true or false accordingly.
trim(): This method removes any leading and trailing white spaces from a string.