- substr: documentation ( source)
- strrpos: documentation ( source)
<?php
$needle = strrpos('/usr/local/zend/apache2/htdocs/wordpress/wp-content/plugins/all-in-one-event-calendar/app/config/exception', '/app/');
echo substr( '/usr/local/zend/apache2/htdocs/wordpress/wp-content/plugins/all-in-one-event-calendar/app/config/exception', $needle + 5 );