My question for all the wise monks is how can you compare $info to $infounknown when one is the actual string you're looking for while the other is using a glob of asterics as placeholders? My other question is, how do you then replace all instances of characters you type in (or word) for $infounknown.
An example would be something like: $info= "I am a brown icecube" and $infounknown would be "* ** * ***** *******". When the person searches for the letter A, it would then show '* a* a ***** *******'.
Questions: how can you use one as placeholders but still verifiy the values? How can you replace the values in $infounknown if they exist?
In reply to string matching/replacing by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |