à®®ேலுà®®் பல புதிய டெக்னாலஜி பற்à®±ி தெà®°ிந்து கொள்ள, எங்கள் "டெக் டுப் தமிà®´் நாடு" யூட் டூஃப் சேனலை SUBSCRIBE செய்து கொள்ளவுà®®்.

Breaking

Sunday 8 October 2017

String in JAVA 3


String in JAVA 3

Methods of String Class

The java.lang.String class provides many useful methods to perform operations on sequence of char values. 

Methods Description
char charAt(int index)returns char value for the particular index.
int length()returns string length.
static String format(String format, Object... args)returns formatted string.
static String format(Locale l, String format, Object... args)returns formatted string with given localer.
String substring(int beginIndex)returns substring for given begin index.
String substring(int beginIndex, int endIndex)returns substring for given begin index and end index.
boolean contains(CharSequence s)returns true or false after matching the sequence of char value
static String join(CharSequence delimiter, CharSequence... elements)returns a joined string.
static String join(CharSequence delimiter, Iterable elements)returns a joined string.
boolean equals(Object another)checks the equality of string with object.
boolean isEmpty()checks if string is empty.
String concat(String str)concatinates specified string.
String replace(char old, char new)replaces all occurrences of specified char value.
String replace(CharSequence old, CharSequence new)replaces all occurrences of specified CharSequence.
String trim()returns trimmed string omitting leading and trailing spaces.
String split(String regex)returns splitted string matching regex.
String split(String regex, int limit)returns splitted string matching regex and limit.
String intern()returns interned string.
int indexOf(int ch)returns specified char value index.
int indexOf(int ch, int fromIndex)returns specified char value index starting with given index.
int indexOf(String substring)returns specified substring index.
int indexOf(String substring, int fromIndex)returns specified substring index starting with given index.
String toLowerCase()returns string in lowercase.
String toLowerCase(Locale l)returns string in lowercase using specified locale.
String toUpperCase()returns string in uppercase.
String toUpperCase(Locale l)returns string in uppercase using specified locale.

 

No comments:

Post a Comment

Hai , Post your comment . (required, Bugs, Errors )

You need to see


SUBSCRIBE NOW



Backlinks : Website Design Company in Coimbatore
Website Design Company in Tamil nadu
Website Design Company in Karur
Website Design Company in Erode
Website Design Company in ooty
Website Design Company in theni
Website Design Company in thoothukudi
Website Design Company in Chennai
Website Design Company in Sathy
Website Design Company in Coimbatore Tamilnadu
Cheap Website Design Company in Coimbatore
Adsense Website Design Company in Coimbatore
ecommerce Website Design Company in Coimbatore
school Website Design Company in Coimbatore
Academy Website Design Company in Coimbatore
Test Website Design Company in Coimbatore
Best Website Design Company in Coimbatore
Adsense Website Design Company in Coimbatore
Adsense Website Design Company in Tamil nadu
Adsense Website Design Company in Karur
Adsense Website Design Company in Erode
Adsense Website Design Company in ooty
Adsense Website Design Company in theni
Adsense Website Design Company in thoothukudi
Adsense Website Design Company in Chennai
Adsense Website Design Company in Sathy
Free SEO Tools online
Free SEO Tools online Website
Free SEO Tools online Plagiarism
Free SEO Tools online article rewriter tool
Free SEO Tools online article reading and writing criticism
Free SEO Tools online seo backlink
Free SEO Tools online Free backlink maker
Free SEO Tools online seo backlink strategy
Free SEO Tools online content writting
360 help SEO Tools online Plagiarism checker
360 help SEO Tools online seo backlink
360 help SEO Tools online Free backlink maker
360 help SEO Tools online content writting
360 help SEO Tools online article rewriter tool
360 help SEO Tools
360 help SEO Tools India
360 help SEO Tools Tamil
360 help SEO Tools website