Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cuckoos-jicamas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
cuckoos-jicamas
1y ago
str.split() function does the same: >>> s = "line1\nline2\rline3\r\nline4\vline5\x1dhello" >>> s.split() ['line1', 'line2', 'line3', 'line4', 'line5', 'hello