Example Use | Laravel 5 String Helpers: Replacing the First Occurrence of a Value
The following examples highlight the basic usage of the replaceFirst method. The results of the method call will appear above the call as a comment. 1 use Illuminate \ Support \ Str ; 2 3 //...