helper prototype for string (ensWith)