Tag: java string

String Capitalize Java

September 19, 2011 · 2 min read
###### Java comes with toUpperCase() and toLowerCase() methods that converts all the characters of the [string](http://way2java.com/string-and-stringbuffer/introduction-immutable-nature-comparison/) into uppercase or lowercase. String Capitalize example keeps all String characters in capital letters.

String replaceAll() Java

September 18, 2011 · 3 min read
###### This String class method, replaceAll(), replaces all the occurrences of a word in a string with another word introduced with JDK 1.4 to use with regular expressions. The method returns a new string with affected words. The original string is not disturbed ([string is immutable](http://way2java.com/string-and-stringbuffer/introduction-immutable-nature-comparison/)).

One stop destination for all String and StringBuffer

June 1, 2011 · 1 min read
**Your one stop destintation for String and StringBuffer operations****.**
← Prev
Page 1 of 2
Next →