Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 2.02 KB

File metadata and controls

12 lines (7 loc) · 2.02 KB

Trim Right medium #template-literal

by Yugang Cao @Talljack

Take the Challenge    简体中文 한국어

Implement TrimRight<T> which takes an exact string type and returns a new string with the whitespace ending removed.

For example:

type Trimed = TrimRight<'   Hello World    '> // expected to be '   Hello World'

Back Share your Solutions Check out Solutions

Related Challenges

106・Trim Left 108・Trim