Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.54 KB

File metadata and controls

12 lines (7 loc) · 1.54 KB

ReplaceAll medium #template-literal

by Anthony Fu @antfu

Take the Challenge    简体中文 日本語

Implement ReplaceAll<S, From, To> which replace the all the substring From with To in the given string S

For example

type replaced = ReplaceAll<'t y p e s', ' ', ''> // expected to be 'types'

Back Share your Solutions Check out Solutions