public String substring(int start, int end)
-
Returns a new
String
that contains a subsequence of characters currently contained in this sequence. The substring begins at the specifiedstart
and extends to the character at indexend - 1
.
public String substring(int start, int end)
String
that contains a subsequence of characters currently contained in this sequence. The substring begins at the specified
start
and extends to the character at index
end - 1
.