newline 2 list (but not sublists!)
Posted to
tcl
by silas2 at Fri Jan 12 23:00:52 GMT 2024
view raw
set
x [convert-to-list {
foo
bar
another line
{
a b c
d e f
}
}]
After executing,
$x
should be:
{foo bar {another line} {
a b c
d e f
}}
[
llength
$x
] == 4
Recent Posts
tcl by Bradipo
1 days ago
tcl by Bradipo
1 days ago
tcl by apn
1 days ago
tcl by Bradipo
3 days ago
tcl by apn
21 days ago
tcl by apn
21 days ago
tcl by bohagan
21 days ago
tcl by archie12341234
27 days ago
tcl by kevin_walzer
27 days ago
tcl by cgm
51 days ago
Submit
New paste
Documentation
From Jabber