Grab remaining text after last "/" in a php string.
        Posted  
        
            by Roeland
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Roeland
        
        
        
        Published on 2010-05-04T04:16:40Z
        Indexed on 
            2010/05/04
            4:28 UTC
        
        
        Read the original article
        Hit count: 295
        
So, lets say I have a $somestring thats holds the value "main/physician/physician_view".
I want to grab just "physician_view". I want it to also work if the passed string was "main/physician_view" or "site/main/physician/physician_view".
Hopefully my question makes sense. Any help would be appreciated!
© Stack Overflow or respective owner