Returns a splitter that behaves equivalently to
this splitter, but automatically omits
empty strings from the results. For example,
Splitter.on(',').omitEmptyStrings().split(",a,,,b,c,,") returns an iterable containing only
["a", "b", "c"].
If either
trimResults option is also specified when creating a splitter, that
splitter always trims results first before checking for emptiness. So, for example,
Splitter.on(':').omitEmptyStrings().trimResults().split(": : : ") returns an empty iterable.
Note that it is ordinarily not possible for
#split(CharSequence) to return an empty
iterable, but when using this option, it can (if the input sequence consists of nothing but
separators).