Tags » Substring

String Handling- substring( )

substring( )

Syntax :-

 String substring (int index);String substring(int startIndex,int endIndex);

Substring() is an overloaded method, available in two version, first version of substring ( ) method of String class is used to retrieve part of string from the given index number to last index number and returns the resultant string. 57 more words

Java

String Handling- substring( )

substring( )

Syntax :-

 String substring (int index);String substring(int startIndex,int endIndex);

Substring() is an overloaded method, available in two version, first version of substring ( ) method of String class is used to retrieve part of string from the given index number to last index number and returns the resultant string. 57 more words

Java