gaps between words

Small fix to validate (count) gaps between words and from the left side of the string (Right trim).
ex.
currently "a a a a a   " processed as "aaaaa" but should be "a a a a a"