Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
by Anthony Fu @antfu
Implement Replace<S, From, To> which replace the string From with To once in the given string S
Replace<S, From, To>
From
To
S
For example
type replaced = Replace<'types are fun!', 'fun', 'awesome'> // expected to be 'types are awesome!'