Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Take out date part of my field value

by pbeckingham (Parson)
on Aug 24, 2005 at 14:41 UTC ( #486210=note: print w/ replies, xml ) Need Help??

in reply to Take out date part of my field value

Simply substitute nothing for a pattern that matches your date. You may need to modify the pattern, and you probably should check out some of the excellent pages on regular expressions.

$field =~ s/^\(\d\d\/\d\d\/\d\d\)\s+//;

pbeckingham - typist, perishable vertebrate.

Comment on Re: Take out date part of my field value
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://486210]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2015-11-29 21:28 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (753 votes), past polls