Split a character string based on change of character: Difference between revisions

Content added Content deleted
Line 57:
set mf to mReturn(f)
script furtherMatchmatchPrevious
on lambda(y)
mf's lambda(x, y)
Line 63:
end script
set {ys, zs} to span(furtherMatchmatchPrevious, tail(xs))
set lstGroup to {{x} & ys}