unless ($string =~$flag) s/$string/"yay found it"/g;
However, that didn't seem to work. Anyone know why? What i specifically want is to append the year '2003' to the end of a list, if it is not already included in the string. However, the tricky thing is I can't just search for the string 2003, because it might be tacked on as a range eg. 2000-2003. Any solutions are welcome.
Thanks!
jc
In reply to strings that dont contain by jc23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |