Skip to main content

Convenience Enhancements to String

No replies
Joined: 2005-07-15

I noticed that String now has an isEmpty() method.
That's great. But I would like to see many more so that I do not need to load the Apache Commons Library to give me essentials like:
substringBefore(string), substringAfter(string), substringBetween(string)
trimToNull(string), trimToEmpty(string),
etc. etc.

It would be nice to see many more of the methods in Commons StringUtils implemented to make all string use more convenient.

A full list is at:

How do we get these and more string improvements into Mustang?