nullIfEmpty

Returns null when this string is empty, otherwise returns it unchanged.