seqdecomp function

Convert a character string into a vector of states or events