document string validator
Add extra string processing/validation, closes #1