For example , Apache Jakarta 's StringUtils has a function called stripToNull which returns null in place of an empty string .
An uncommon variant of trim returns a special result if no characters remain after the trim operation .
Apache Jakarta 's StringUtils has a function called stripToNull which returns null in place of an empty string .
An uncommon variant of trim returns a special result if no characters remain after the trim operation .