Richard Davey wrote:
Hello Pablo,
Thursday, December 2, 2004, 3:12:09 PM, you wrote:
PDM I´m receiving this: house , ball , door , roof , floor
PDM And I want to obtain this: 'house','ball','door','roof','floor'
PDM Maybe, I should use implode or explode, but I just can´t figure out how..
PDM
, but
in this case a simple str_replace() works just as good too.
-TG
-Original Message-
From: Pablo D Marotta [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 02, 2004 10:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Text Parser
Hi there..
A newbie issue:
I´m receiving this: house , ball
Suppose this is your first string $value
house , ball , door , roof , floor
$saparate = explode(,,$value);
$list = implode(',', $arr1);
$final = ('$arr2');
echo $final;
Thnx...
Quoting Pablo D Marotta [EMAIL PROTECTED]:
Hi there..
A newbie issue:
I´m receiving this: house , ball , door ,
Hello Pablo,
Thursday, December 2, 2004, 3:12:09 PM, you wrote:
PDM I´m receiving this: house , ball , door , roof , floor
PDM And I want to obtain this: 'house','ball','door','roof','floor'
PDM Maybe, I should use implode or explode, but I just can´t figure out how..
PDM Help?
You could
Hi there..
A newbie issue:
I´m receiving this: house , ball , door , roof , floor
And I want to obtain this: 'house','ball','door','roof','floor'
Maybe, I should use implode or explode, but I just can´t figure out how..
Help?
American Express made the following
annotations on 12/02/04
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the middle. For
example: name,age,address,location. It´s important that the comas must be
inserted after the first
On Wed, 24 Nov 2004 15:26:44 -0300, Pablo D Marotta
[EMAIL PROTECTED] wrote:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the middle. For
example: name,age,address,location. It´s important that the comas must be
Pablo D Marotta wrote:
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the middle. For
example: name,age,address,location. It´s important that the comas must be
inserted
On Wed, 24 Nov 2004 15:26:44 -0300, Pablo D Marotta
[EMAIL PROTECTED] wrote:
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the middle. For
example:
$string = str_replace(' ', ',', $string);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I need to get a procedure able to do this:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the middle. For
example: name,age,address,location. It´s important that the comas must be
inserted after the first word,
Jesse Castro wrote:
[snip]
I need to get a procedure able to do this:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the middle. For
example: name,age,address,location. It´s important that the comas must be
inserted after
John Nichel wrote:
Pablo D Marotta wrote:
Hi there...
I need to get a procedure able to do this:
1) Receive a string. For example: name age address location.
2) Process that string, inserting comas between the words in the
middle. For
example: name,age,address,location. It´s important that the
Uros Gruber wrote:
Hi!
I wan't to know if there is any goor text parser around here
written in php. I'm asking before i create my own.
I would like extract some text msgs to words and i would also
like take care of stop words, special characters etc... So to
know if some word is regular word,
Hi!
I wan't to know if there is any goor text parser around here
written in php. I'm asking before i create my own.
I would like extract some text msgs to words and i would also
like take care of stop words, special characters etc... So to
know if some word is regular word, or if is number, html
15 matches
Mail list logo