History of Idiom 219 > diff from v19 to v20
Edit summary for version 20 by programming-idioms.org:
[Rust] Variable names s, t
[Rust] Variable names s, t
↷
Version 19
2020-11-17, 00:43:26
Version 20
2020-11-17, 14:48:31
Idiom #219 Replace multiple spaces with single space
Create string t from the value of string s with each sequence of spaces replaced by a single space.
Explain if only the space characters will be replaced, or the other whitespaces as well: tabs, newlines.
Idiom #219 Replace multiple spaces with single space
Create string t from the value of string s with each sequence of spaces replaced by a single space.
Explain if only the space characters will be replaced, or the other whitespaces as well: tabs, newlines.