Re: More formatting questions

2002-01-04 Thread Jeff 'japhy' Pinyan
On Jan 4, [EMAIL PROTECTED] said: >see, [] is already a character CLASS.. which means 'any character >between these braces' - in short, an implied OR. Good. You said it so I don't have to. >what you want is s/[-.]//g; When I see a construct such as that (s/[...]//g), I often suggest using tr/

Re: More formatting questions

2002-01-04 Thread boumans
ant is s/[-.]//g; regards, jos Quoting Roger C Haslock <[EMAIL PROTECTED]>: > Perhaps > s/[-|\.]//g; # replace any dash or (escaped) dot with nothing > > - Original Message - > From: "Scott" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>

Re: More formatting questions

2002-01-04 Thread Scott
ROTECTED]> > Sent: Friday, January 04, 2002 7:48 PM > Subject: More formatting questions > > > > First off, thank you to everyone who has helped me dive into perl full > > force this week. I am glad I am getting to know the language! > > > > My question is abou

Re: More formatting questions

2002-01-04 Thread Roger C Haslock
Perhaps s/[-|\.]//g; # replace any dash or (escaped) dot with nothing - Original Message - From: "Scott" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 7:48 PM Subject: More formatting questions > First off, thank you to everyone wh

RE: More formatting questions

2002-01-04 Thread Scott Lutz
: More formatting questions First off, thank you to everyone who has helped me dive into perl full force this week. I am glad I am getting to know the language! My question is about formatting. I need to strip a decimal out of a number and dash out of a date. I am importing a file and then

More formatting questions

2002-01-04 Thread Scott
First off, thank you to everyone who has helped me dive into perl full force this week. I am glad I am getting to know the language! My question is about formatting. I need to strip a decimal out of a number and dash out of a date. I am importing a file and then reformatting it for export t