Page 1 of 1

String operations

Posted: Thu Dec 24, 2009 8:56 am
by VitDavide
Hello guys,

i need to know how to remove a certain part of a string in PHP:

i have a string that shows a path instead of a title: articles/post.txt

i want to remove what is before the slash and after the dot (with that slash and the dot included).

Thank you!

Re: String operations

Posted: Thu Dec 24, 2009 9:24 am
by daedalus__