Added some string validations for ends and beings with.