sukanya.paul
01-19-2009, 11:18 AM
hi,
i have a huge string in which many words are repeated. i want to find all the positions of a particular word and then echo from the position to end of line.can you please help me do this.
eg:
$text= name: sukanya
age= 25
city= bangalore
company name= xyz
now when i search with name i want the positon of both the names and i want to type
name= sukanya &
name= xyz
thanks in advance,
Suk
i have a huge string in which many words are repeated. i want to find all the positions of a particular word and then echo from the position to end of line.can you please help me do this.
eg:
$text= name: sukanya
age= 25
city= bangalore
company name= xyz
now when i search with name i want the positon of both the names and i want to type
name= sukanya &
name= xyz
thanks in advance,
Suk