Logo

Programming-Idioms

History of Idiom 219 > diff from v35 to v36

Edit summary for version 36 by programming-idioms.org:
Linked to idiom #48 [Multi-line string literal]

Version 35

2021-11-23, 20:31:07

Version 36

2021-12-23, 09:00:54

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.

Extra Keywords
collapse repeated
Extra Keywords
collapse repeated