Re: determining location of character in array....

2003-01-17 Thread Rob Dixon
Mike Liss wrote: > Hello, > > Is there an easy way to get the location of a specific instance of a > character > in an array? > > for example: > > $MyArray = "This is the test"; > > I would like to know the index of the first occurence of the letter > "h" ( 1 ) Hi Mike I thought you may be in

RE: determining location of character in array....

2003-01-16 Thread Toby Stuart
> -Original Message- > From: Liss, Mike [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 10:21 AM > To: [EMAIL PROTECTED] > Subject: determining location of character in array > > > Hello, > > Is there an easy way to get the location of a specific instance of a > charac

Re: determining location of character in array....

2003-01-16 Thread Jenda Krynicky
From: "Liss, Mike" <[EMAIL PROTECTED]> > Is there an easy way to get the location of a specific instance of a > character in an array? > > for example: > > $MyArray = "This is the test"; > > I would like to know the index of the first occurence of the letter > "h" ( 1 ) index $MyArr

Re: determining location of character in array....

2003-01-16 Thread Paul Johnson
On Thu, Jan 16, 2003 at 03:21:13PM -0800, Liss, Mike wrote: > Is there an easy way to get the location of a specific instance of a > character in an array? > > for example: > > $MyArray = "This is the test"; > > I would like to know the index of the first occurence of the letter "h" ( 1

RE: determining location of character in array....

2003-01-16 Thread Mark Anderson
> Is there an easy way to get the location of a specific instance of a > character in an array? > > for example: > >$MyArray = "This is the test"; > > I would like to know the index of the first occurence of the letter "h" ( 1 perldoc -f index index $MyArray,'h'; -- To unsubscribe, e-mail