Re: How to convert a string( "23/04/2006") to a string "23042006" in javascript?
| From: | Richard Davey | Date: | Tue, 25 Apr 2006 10:03:11 +0000 |
| Subject: | Re: How to convert a string( "23/04/2006") to a string "23042006" in javascript? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234687@lists.php.net to get a copy of this message | ||
On 25 Apr 2006, at 10:59, Pham Huu Le Quoc Phuc wrote:
I am a newbie to web programming, I have a following problem: I have a string: "23/04/2006", want to convert it become 23042006 in javascript.If it always follows that notation you could just strip out the / character (str_replace) Cheers, Rich -- http://www.corephp.co.uk Zend Certified Engineer PHP Development Services