completed string validations and conversions