I'm not sure I understand your problem very well, in your first sentence you talk about a string but show something that looks like an array... See How do I post a question effectively?
Anyway, to check if a string is included in another, the easiest way is to use the index function. Or to check if a string is present in an array, use grep.
In reply to Re: Perl Array - What an array contains
by Eily
in thread Perl Array - What an array contains
by rahulme81
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |