My suggestion is to put both texts(from DB and Input) into array. You can do this by read the text as string then strip and keep each character in array.
Then loop and compare each array index one by one.
I don't know this is the best solution but I think it's a good way to start.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.