Skip to content

Latest commit

 

History

History

00116-medium-replace

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Replace medium #template-literal

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語

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!'

Back Share your Solutions Check out Solutions