to perform some taks in string you have to use this classYou have to import this classuse Illuminate\Supports\Str;