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
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
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.
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
'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
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
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
7 matches
Mail list logo