Re: Question regarding the Substitution Operator

2001-06-13 Thread Evgeny Goldin (aka Genie)
> I've tried placing [ ] around each variable, Stop, don't run and read "perlre" before you trying to use any special regex characters. When you put characters inside [] it means "any character" and it doesn't mean "the whole word" [abcd] = "a or b or c or d" and not "abcd" > using the || ope

Re: Question regarding the Substitution Operator

2001-06-13 Thread Jeff 'japhy' Pinyan
On Jun 13, Carl Rogers said: >Good afternoon; >I have a dumb question: I'm working with the following: > >$line = "Joe Doe 123 Main St. Sometown, USA"; > >I have parsed the line to assign the values to the following variables: > >$fname = "Joe"; >$lname = "Doe"; >$addr = "123 Main St."; > >I'm tr

Question regarding the Substitution Operator

2001-06-13 Thread Carl Rogers
Good afternoon; I have a dumb question: I'm working with the following: $line = "Joe Doe 123 Main St. Sometown, USA"; I have parsed the line to assign the values to the following variables: $fname = "Joe"; $lname = "Doe"; $addr = "123 Main St."; I'm trying to use the substitution operator to d