Skip to main content

Convenience Enhancements to String

No replies
disciple285
Offline
Joined: 2005-07-15
Points: 0

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:http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringUtils.html

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