i adding function mrmp periodically poll new records bridge controller , send email selected records using xport. i send... ig1v#rg1vr2,970,48# a typical record reply this... r1gvr,970,48,5,77,0,0,1239762623,65# using limited ram , string functions in stdlib.h trying parse string , associate tokens (77) expanded strings mean reader of email message. for example, token "77" (ascii 's') means "stopped" so trying various methods create function takes token , returns address of associated string. i have spent many hours googlng examples, success. is there better, smaller more efficient way accomplish this? i pass address of array[] , walk index. far haven't solved syntax. code: [select] #include <stdlib.h> char stdata[64] = "970,0,5,97,1,2,-1234567890,151"; // testing // token $ expanded string null token $ expanded string null token $ expanded string null char* stcontrollertokens[] = { "2", "s$slave", ...