There are various places around leveluplunch that show the power of guava's Strings
utility class such as common prefix, common suffix, is string null or empty, left pad a string, repeat a string and right pad string. This example will try to bring it together in one page.
Common prefix
Common suffix
Empty to null
Is null or empty
Null to empty
Left pad string
Right pad string
Repeat string