Re: explode(" ", $pizza)

From: Date: Tue, 25 Feb 2003 11:12:10 +0000
Subject: Re: explode(" ", $pizza)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137056@lists.php.net to get a copy of this message
Hi, i found something like: var s = "This,is,a,String"; lenght = s.lenght; document.write(s.bold()); t = s.substring(2,4); a = s.split(","); // This line is the most interesting one ;)) document.write(a[1]); // should write the word 'is' Dont know if it works, i just looked in one of my old books. The Book where i found the answer is from O'Reilly: Javascript the defenetive reference or some like that, another very very good book is Dynamic HTML from O'Reilly, you should find all infor- mation you need there. Good luck! Sascha ----- Original Message ----- From: "John Taylor-Johnston" <taylorjo@collegesherbrooke.qc.ca> To: <php-general@lists.php.net> Sent: Tuesday, February 25, 2003 7:21 AM Subject: [PHP] explode(" ", $pizza) > Off topic :) ? > Anyone know how to explode using javascript? > > $pieces = explode(" ", $pizza); > > John > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#137056) next »