Connecting Tech Pros Worldwide Help | Site Map

implode function in JavaScript

  #1  
Old May 10th, 2006, 04:18 AM
Bosconian
Guest
 
Posts: n/a
I'm looking for an implode function like the one found in PHP.

I could write my own, but am wondering if something already exists.


  #2  
Old May 10th, 2006, 06:15 AM
Bosconian
Guest
 
Posts: n/a

re: implode function in JavaScript


"Bosconian" <bosconian@planetx.com> wrote in message
news:Ec2dneo-kLp4yvzZnZ2dnUVZ_tGdnZ2d@comcast.com...[color=blue]
> I'm looking for an implode function like the one found in PHP.
>
> I could write my own, but am wondering if something already exists.
>
>[/color]

Found it.

arrayObject.join(separator)


  #3  
Old May 10th, 2006, 06:15 AM
Matt Kruse
Guest
 
Posts: n/a

re: implode function in JavaScript


Bosconian wrote:[color=blue]
> I'm looking for an implode function like the one found in PHP.[/color]

It would be helpful if you would explain what implode does in PHP, as many
here may not be familiar with it.
[color=blue]
> I could write my own, but am wondering if something already exists.[/color]

I think array.join is what you're looking for.

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to remember a function's name Csaba Gabor answers 3 June 28th, 2006 10:15 AM
php in javascript juicy answers 7 April 25th, 2006 03:15 AM
sending an array from php to javascript nescio answers 5 March 29th, 2006 03:35 PM
php array in javascript function Obscurr answers 2 July 17th, 2005 01:39 AM