Re: [PHP] Text Parser

2004-12-02 Thread M. Sokolewicz
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

RE: [PHP] Text Parser

2004-12-02 Thread Gryffyn, Trevor
, 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

Re: [PHP] Text Parser

2004-12-02 Thread ankur_os
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 ,

Re: [PHP] Text Parser

2004-12-02 Thread Richard Davey
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

[PHP] Text Parser

2004-12-02 Thread Pablo D Marotta
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

[PHP] Text Parser

2004-11-24 Thread Pablo D Marotta
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

Re: [PHP] Text Parser

2004-11-24 Thread Greg Donald
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

Re: [PHP] Text Parser

2004-11-24 Thread John Nichel
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

Re: [PHP] Text Parser

2004-11-24 Thread Robin Vickery
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:

Re: [PHP] Text Parser

2004-11-24 Thread Adrian
$string = str_replace(' ', ',', $string); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Text Parser

2004-11-24 Thread Jesse Castro
[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,

Re: [PHP] Text Parser

2004-11-24 Thread Daniel Schierbeck
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

Re: [PHP] Text Parser

2004-11-24 Thread Daniel Schierbeck
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

Re: [PHP] text parser

2002-12-21 Thread Sean Burlington
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,

[PHP] text parser

2002-12-20 Thread Uros Gruber
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