News

The need to find the length of a Java String is a common programming requirement. Learn how to get the size of a Java String and avoid lengthy errors developers often encounter.
I have previously blogged on how Groovy and ActionScript provide demonstrations of switching on Strings functionality that has not been available in Java. JDK 7 changes this for Java by ...
In this article, you'll take advantage of the commonly used StringTokenizer class to perform better tokenization of complicated and information-rich strings.
The Java array length property does not have round brackets after the field. The Java String length () method does. Confusion here will cause compile time errors, so be careful.