Sorry. Lousy explanation. I have a string that will have PSserver01...02, etc. I need to check for this string:
$Printserver = "HP4000 [PSserver01]"
I guess this can be as simple as
$Printserver = "HP4000 [PSserver01]"
if ( ! /PSserver/ ) {
do
}
Thanks
$Bill Luebkert <[EMAIL PROTECTED]> wrote:
Jim Hansen wrote:
> I need to parse a string with a specific phrase within it.
>
> For example:
>
> "PSserverxx"
>
> What is the best way to do this?
Insufficient explanation. What do you mean by parse ? Are you trying
to see if that substr is in the string or what ? Show examples of what
you want to do.
--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
