Eliminate need for rejecting empty strings

Take advantage of the fact that a slice with a backward range like 2..1
will return an empty array.