So, don't search "abcdfg" [ :-) what happened to 'e' ? ]
But -- more seriously -- what do you mean by the statement that '"abcdfg", "fbcdfg", "aMcdfg", "abZdfg" etc are accepted' when only the first combination actually exists in your all-lower-case-string and the last two require upper case letters?
From the info in your question, there are several ways to solve your problem -- some quite easy (see the following list) -- but it's easier to avoid off-track suggestions if the question is unambiguous AND we've seen your code (for a hint at what you're actually trying to accomplish).See On asking for help -- the "short version' at the top of that node will illuminate your next question.
Updated: Multiple edits of typos and formatting. Only the second para is actually new. Mea culpa. Brain seized in the heat.
In reply to Re: search of a string in another string with 1 wildcard
by ww
in thread search of a string in another string with 1 wildcard
by carolw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |