% list_regsub {c$} {afdsg asdc sfgh {dfgh shgfc} dfhg} {!}
afdsg asd! sfgh {dfgh shgf!} dfhg
% list_regsub {^([^.]+)\.([^.]+)$} {start.sh help.ps h.sh} {\2 \1}
{sh start} {ps help} {sh h}
% list_sub {Ape Ball Field {Antwerp city} Egg} {0 3}
Ape {Antwerp city}
% list_sub {Ape Ball Field {Antwerp city} Egg} -exclude {0 3}
Ball Field Egg
% list_find -regexp {Ape Ball Field {Antwerp city} Egg} {^A}
0 3
% list_cor {a b c d e f} {d b}
3 1
% list_cor {a b c d e f} {b d d}
1 3 -1
% list_merge {a b c} {1 2 3}
a 1 b 2 c 3
% list_merge {a b c d} {1 2} 2
a b 1 c d 2
% list_unmerge {a 1 b 2 c 3}
a b c
% list_unmerge {a b 1 c d 2} 2 var
a b c d
% set var
1 2
% list_subindex {{a 1} {b 2} {c 3}} 1
1 2 3
% list_mangle {a b c} {1 2 3}
{a 1} {b 2} {c 3}
% list_extract {Results {A: 50%} {B: 25%} {C: 25%}} { ([0-9+]+)\%}
{} 50 25 25
% list_split {a b c d e} -before {1 3}
a {b c} {d e}
% list_join {a b c {a d} e} { } {0 2}
{a b} {c a d} e
% list_join {a b c {a d} e} {} {0 2}
ab {ca d} e
% list_join {a b c {a d} e} {} all
abca de
% list_lengths {abc abcdef}
3 6
% list_fill 4 "Hello world"
{Hello world} {Hello world} {Hello world} {Hello world}
% list_fill 5 2 2
2 4 6 8 10
% list_fill 5 10 -2
10 8 6 4 2
% list_select {a b ab bc} a*
a ab
% list_select -regexp {a ab aa bc} {^[ab]*$}
a ab aa