Search more than one wor in a string
From: Jochen Friedmann (jochen.friedmann3_at_de.bosch.com)
Date: 06/30/04
- Next message: Sherm Pendley: "Re: Looking for a certain regexp"
- Previous message: Brian McCauley: "Re: grabbing array vlaues in a loop where array is redefined"
- Next in thread: Bernard El-Hagin: "Re: Search more than one wor in a string"
- Reply: Bernard El-Hagin: "Re: Search more than one wor in a string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 11:14:51 +0200
Hello,
my problem:
I am looking for two words in a string var. If there are both words in it I
want to bring out an error message.
if (($param =~ m/move/gi)&&($param =~ m/copy/gi)){print "\n --- To much
parameters /Copy or /Move";}
Jochen
- Next message: Sherm Pendley: "Re: Looking for a certain regexp"
- Previous message: Brian McCauley: "Re: grabbing array vlaues in a loop where array is redefined"
- Next in thread: Bernard El-Hagin: "Re: Search more than one wor in a string"
- Reply: Bernard El-Hagin: "Re: Search more than one wor in a string"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]