str = "hello/this is a new line/and so is this";
str  = str.split("/").join("\n");

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, December 03, 2005 2:15 PM
Subject: [Flashcoders] Split String


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
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders 

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to