Entered strings check