[jQuery] Re: Concatenation

2007-11-26 Thread Marc Jansen
Hi Llaurick, not sure if I understand you correct, but isn't array.join() what you search for? var a = ['foo', 'bar', 'humpty', 'dumpty']; var s = a.join(','); // s is now 'foo,bar,humpty,dumpty' -- Marc Llaurick schrieb: I would like to know if there is a function (or any other way) in

[jQuery] Re: Concatenation

2007-11-24 Thread [EMAIL PROTECTED]
On Nov 23, 11:38 am, Llaurick <[EMAIL PROTECTED]> wrote: > I would like to know if there is a function (or any other way) in > JQuery (or a plugin) that would allow to create a concatenation of a > collection of String. What I would like is to take a list or array of > strings (text) and create s

[jQuery] Re: Concatenation

2007-11-23 Thread Llaurick
Thanks for the info. I do have Flanagan book and I did look for something, and found concat which was not what I wanted and thought Javascript did not do it. I should have look more and done a query for it on the web. Shame on me. Continue the good work ;) Llaurick On 23 nov, 14:42, "Michael Ge

[jQuery] Re: Concatenation

2007-11-23 Thread Michael Geary
Llaurick, you won't find that in jQuery, but you don't need to, because it's a standard part of JavaScript. Since someone else had a similar question earlier today (tried to find something in jQuery but couldn't - because it's built into JavaScript itself), here's a general tip: If you ask, "how