Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.81 KB

File metadata and controls

12 lines (7 loc) · 1.81 KB

Trim Right medium

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