Search

Showing 7 of 1,975 result(s)

/blog/2017/12/06/laravel-5-string-helpers-pluralization-and-strings#content-global-strplural-helper-function

The str_plural function is a shortcut to calling Str::plural . This function is declared in the global namespace.

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-first-occurrence-of-a-value

The replaceFirst helper method is used to replace the first occurrence of a given $search string with the provided $replace string in the $subject string. All three parameters are required and must be strings.

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-first-occurrence-of-a-value#content-global-strreplacefirst-helper-function

The str_replace_first function is a shortcut to calling Str::replaceFirst . This function is declared in the global namespace.

/blog/2017/12/06/laravel-5-string-helpers-replacing-the-last-occurrence-of-a-value#content-global-strreplacelast-helper-function

The str_replace_last function is a shortcut to calling Str::replaceLast . This function is declared in the global namespace.