History of Idiom 219 > diff from v20 to v21
Edit summary for version 21 by programming-idioms.org:
[Rust] Comments: Replaces all whitespaces.
[Rust] Comments: Replaces all whitespaces.
↷
Version 20
2020-11-17, 14:48:31
Version 21
2020-11-22, 22:28:45
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.
Comments bubble