define('split(chs,str)i,j,t,w2') :(split_end) split t = table() sp1 str pos(0) (break(chs) | rem) $ t + span(chs) (break(chs) | '') . w2 = w2 :s(sp1) * t = differ(str,'') str ;* Uncomment for CSnobol split = array(i) sp2 split = t :s(sp2)f(return) split_end define('join(ch,a)i,') :(join_end) join join = join a join = join ?a ch :s(join)f(return) join_end * # Test and display output = join('.',split(',','Hello,How,Are,You,Today')) end