Re: explode

From: Date: Fri, 15 Mar 2002 22:38:24 +0000
Subject: Re: explode
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-12745@lists.php.net to get a copy of this message
thanks for all the reply now i get it.. Many many thanks... ^^ ----- Original Message ----- From: "Ross Fleming" <r.fleming@totalise.co.uk> To: "KONUS" <konus@bdg.centrin.net.id>; <php-windows@lists.php.net> Sent: Monday, March 25, 2002 10:09 AM Subject: RE: [PHP-WIN] explode > No probs. > > explode is a way of splitting up a string using any character you want as > the divider. For example... > > Say you wanted to split a string into individual words. $string_var = "The > cat sat on the mat"; > > $words_var = explode(" ", $string_var); > > Explode splits $string_var by the space character and returns an array of > all the words that are in $string_var. > $words_var is now an array of strings with a word in each element. > > Ross > > -----Original Message----- > From: KONUS [mailto:konus@bdg.centrin.net.id] > Sent: 15 March 2002 19:20 > To: php-windows@lists.php.net > Subject: [PHP-WIN] explode > > > What is explode...?? > > please explaine it in simple english with an example. > Because iam a new to PHP. > > Many thanks, --ZEUS-- > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.windows (#12745) next »