String Problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hmsg
Forum Commoner
Posts: 42
Joined: Sun May 14, 2006 9:48 am

String Problem

Post by hmsg »

Hi

I have a string and i need to catch the last par of the string, need help.

My string is always "........ other: ........."

And i need to cacth to another string all the stuff that cames after "other:" , how can i do that any idea?



With the best regards

HMSG
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

check string functions
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

itsmani1 wrote:check string functions
That's not very helpful. At least suggest which function would be useful.

strrpos() and substr() in this case.
Post Reply