chk-text function

Checks: text