hello,
i have a string(SADFDSFDSFLLSDFKFDLKFKLFDDSFLKDSKS) or something like this.
and i have a pattern (AL???LW) of five characters where ? is any one out of the sixteen alphabets given.
i have to search this pattern in the string.
language=perl
platform=linux(32 bit i686).
if anyone of u can help, plz help.
waiting
mamoon
It sounds like a game. Okay, what is being asked, I
think is:
Given a certain string, and a certain pattern, find this pattern in the string. I hope this helps. And, I think he does mean 5 = # of characters in pattern. ? = one of 16 alphabets. Key, however, is not the 16 alphabets. Instead, its match the pattern in the string.
(I'd right an answer but I've only just begun to study Perl last August, and have not had time to look at it since.)