Check the image below. It comes from a LIKE search on a database deplacing spaces with %, so it outputs the following:

Ideally, the highlighted text doesn't match the input chars. It highlights the number of characters inputed starting from the left.
Check the image below. It comes from a LIKE search on a database deplacing spaces with %, so it outputs the following:
Ideally, the highlighted text doesn't match the input chars. It highlights the number of characters inputed starting from the left.