In this example we will show how to use Java String substring() API method. 1. Syntax substring() method can be expressed in two ways: String substring(int start, int end) String substring(int start) 2. Parameters start This parameter is mandatory and it specifies the starting position of the extracted string. Note that first character of string ...
↧
Trending Articles
More Pages to Explore .....