Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

string convert snake case to title case in laravel

$demo = 'test_test_test'

$str = title_case(str_replace('_', ' ', $demo))
// result => 'Test Test Test'
 
// $uj@y
 
PREVIOUS NEXT
Tagged: #string #convert #snake #case #title #case #laravel
ADD COMMENT
Topic
Name
6+6 =