DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
get basename without extension Laravel
use IlluminateSupportStr; $string = Str::of('/foo/bar/baz.jpg')->basename('.jpg'); // 'baz'
Source by laravel.com #
PREVIOUS
NEXT
Tagged:
#basename
#extension
#Laravel
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit