Description
StringUtils has various methods to checking and removing a substring from the start/end of a string but nothing for appending. These methods will append a suffix to the end or prepend a prefix to the start of the string if not already present.
The methods would include:
- appendIfMissing
- appendIfMissingAny
- appendIfMissingIgnoreCase
- appendIfMissingAnyIgnoreCase
- prependIfMissing
- prependIfMissingAny
- prependIfMissingIgnoreCase
- prependIfMissingAnyIgnoreCase