Re: How to convert a string( "23/04/2006") to a string "23042006" in javascript?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux