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
hmsg
Forum Commoner
Posts: 42 Joined: Sun May 14, 2006 9:48 am
Post
by hmsg » Thu Nov 02, 2006 6:03 am
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
itsmani1
Forum Regular
Posts: 791 Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:
Post
by itsmani1 » Thu Nov 02, 2006 7:05 am
check string functions
onion2k
Jedi Mod
Posts: 5263 Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com
Post
by onion2k » Thu Nov 02, 2006 7:08 am
itsmani1 wrote: check string functions
That's not very helpful. At least suggest which function would be useful.
strrpos() and substr() in this case.