edited string checker