get basename without extension laravel

Solutions on MaxInterview for get basename without extension laravel by the best coders in the world

showing results for - "get basename without extension laravel"
Barbara
14 Jan 2017
1use Illuminate\Support\Str;
2
3$string = Str::of('/foo/bar/baz.jpg')->basename('.jpg');
4
5// 'baz'
similar questions
queries leading to this page
get basename without extension laravel