There are 2 strigs, say
I want to search for $y in $x regardless of the spaces and case and retrieve the matched string in $x. In $x, the extra character comes can be space (only) and it can come any number of times like "My Na me"$x="My name is VC"; $y="myname";
We can match by making a temp string and removing space and match. Then I cant get the matching string :(
Thanks in advance.
--VC
In reply to Regx: match without regarding space and case by atemon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |