Java is rich with methods to handle strings and strings manipulation. In this post I will detail the most used string methods and usage of each one. لعبة الاحجار الفرعونية As string functions are much and important I will make this post divided to several posts in a series to be easy to follow and to give time to exercise.

length()

This method Returns the length of the sequence of characters represented by this object.

Syntax:

public int length();