replaceBeginning
Replaces all occurrences of $search from the beginning of string with $replacement.
Description
static replaceBeginning(string $search, string $replacement)
Parameters
-
string $search
- string $replacement
Return Value
static
Replaces all occurrences of $search from the beginning of string with $replacement.
static replaceBeginning(string $search, string $replacement)
string $search
static