String Lengths and Comparisons – SDN Tech Tips

The Sun Developer Network has a useful article on calculating String lengths and comparing Strings using a variety of different approaches: ==, equals(), compareTo() and Collators. This is a useful read if you are unfamiliar with these approaches.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.