github-actions[bot] 72d338afb9
#116 - Replace (#117)
Co-authored-by: Anthony Fu <11247099+antfu@users.noreply.github.com>
2020-11-16 18:38:16 +08:00
..
2020-11-16 18:38:16 +08:00
2020-11-16 18:38:16 +08:00
2020-11-16 18:38:16 +08:00
2020-11-16 18:38:16 +08:00

Implement Replace<S, From, To> which replace the string From with To once in the given string S

For example

type replaced = Replace<'types are fun!', 'fun', 'awesome'> // expected to be 'types are awesome!'