replace `search` with `replace` in `subject` but only one of it(the first result)
| Name | Type | Description | Required |
|---|---|---|---|
| search | string | array | The value being searched for, otherwise known as the needle. | yes |
| replace | string | array | The replacement value that replaces found search values. | yes |
| subject | string | array | The string or array being searched and replaced on, otherwise known as the haystack. | yes |
Output : string | array
Static or normal : Static
tools::strReplaceFirst('hello','bye','hello james, hello mike :)');