<?php $string = 'C:\Folder\Sub-Foler\file.ext'; $stringPieces = explode("\\", $string); $string = end($stringPieces); echo $string;
You have javascript disabled. You will not be able to edit any code.