php - Get substr from string -


i have code

<?php echo $fileinfo[2] ?> 

so $fileinfo[2] outputs:

/1/video/hey-smith_.mp4 

i want part of string video/hey-smith_.mp4v, how remove /1/ ?

this return 3rd character end of string:

echo substr($fileinfo[2],3); 

Comments

Popular posts from this blog

ubuntu - How to disable Kernel Module Signing in linux -

java - Ebean enhancement ignores a model -

How to combine associative arrays in bash? -