Re: Returning character from string

2008-10-20 Thread brian54321uk
brian54321uk wrote: brian54321uk wrote: Rob Dixon wrote: brian54321uk wrote: Hi, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn ho

Re: Returning character from string

2008-10-20 Thread brian54321uk
brian54321uk wrote: Rob Dixon wrote: brian54321uk wrote: Hi, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn how do I get $wilma = j

Re: Returning character from string

2008-10-20 Thread brian54321uk
brian54321uk wrote: Rob Dixon wrote: brian54321uk wrote: Hi, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn how do I get $wilma = j

Re: Returning character from string

2008-10-20 Thread brian54321uk
Rob Dixon wrote: brian54321uk wrote: Hi, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn how do I get $wilma = j my $wilma = substr

Re: Returning character from string

2008-10-20 Thread brian54321uk
John W. Krahn wrote: brian54321uk wrote: Hi, Hello, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn how do I get $wilma = j $ p

Re: Returning character from string

2008-10-20 Thread brian54321uk
Rob Dixon wrote: brian54321uk wrote: Hi, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn how do I get $wilma = j my $wilma = substr

Re: Returning character from string

2008-10-20 Thread John W. Krahn
brian54321uk wrote: Hi, Hello, I'm stuck with what will probably turn out to be a simple solution, I've been scouring google for ages, and can't find anything close to what I'm looking for. Given that $fred = 10 $barney = abcdefghijklmn how do I get $wilma = j $ perl -le' my $fred = 10

Re: Returning character from string

2008-10-20 Thread Rob Dixon
brian54321uk wrote: > > Hi, I'm stuck with what will probably turn out to be a simple solution, > I've been scouring google for ages, and can't find anything close to > what I'm looking for. > > Given that > > $fred = 10 > $barney = abcdefghijklmn > > how do I get $wilma = j my $wilma = subst