Add some documentation
Strip strings and decline empty strings

Strip heading and trailing whitespace from input and decline empty
strings from input.