replace_first

Replace first occurrence

Replaces only the first occurrence of old with new_ in s.

Parameters

Returns

The modified string.