added functionality to enter one or more characters between words