type-challenges/questions/00119-medium-replaceall

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