Re: [Flashcoders] Split String

2005-12-03 Thread MetaArt
try this: var yourString = "string"; var temp = yourString .split("§"); var firstLine = temp[0]; var secondLine = temp[1]; var thirdLine = temp[2]; etc. etc... Enrico Tomaselli +> web designer <+ [EMAIL PROTECTED] http://www.metatad.it ___ Flas

SV: [Flashcoders] Split String

2005-12-03 Thread Martin Baltzer
Yes...but just ignore the boolean arg which has no purpose at all - somekind of leftover ;-) Fra: [EMAIL PROTECTED] på vegne af JesterXL Sendt: lø 03-12-2005 20:28 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Split String Nice! I forgot all

Re: [Flashcoders] Split String

2005-12-03 Thread stacey
string.split("/")? > Can anyone point me in the right direction on how to split a string > using a special character(/). this is my first line / this is my second > line / etc... > > > Thanks! > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.

Re: [Flashcoders] Split String

2005-12-03 Thread JesterXL
Nice! I forgot all about that, but remember getting bitten. Cool function! - Original Message - From: "Martin Baltzer" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" ; "Flashcoders mailing list" Sent: Saturday, December 03, 2005 2:25 PM Sub

SV: [Flashcoders] Split String

2005-12-03 Thread Martin Baltzer
't support player 7 you don't need to worry ;-) /Martin Baltzer Fra: [EMAIL PROTECTED] på vegne af JesterXL Sendt: lø 03-12-2005 20:12 Til: Flashcoders mailing list Emne: Re: [Flashcoders] Split String str = "hello/this is a new line/and so i

Re: [Flashcoders] Split String

2005-12-03 Thread JesterXL
str = "hello/this is a new line/and so is this"; str = str.split("/").join("\n"); - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Saturday, December 03, 2005 2:15 PM Subject: [Flashcoders] Split String Can anyone point me in the right dire

[Flashcoders] Split String

2005-12-03 Thread mikeb
Can anyone point me in the right direction on how to split a string using a special character(/). this is my first line / this is my second line / etc... Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.c