2ae Subj : Extracting values from AnsiString To : borland.public.cpp.borlandcpp From : "Michael" Date : Tue Mar 16 2004 10:23 pm Hi, Im producing a small client/server application, where the clients send a string to the server through 'SendText();' in the form: "client1=xxxxxx:client2=yyyyyyy:client3=zzzzzz" I would like to extract the different sections of the string individually into separate variable, such as: c1="xxxxxx" and c2="yyyyyy" and c3="zzzzzzz" However the lengths of 'x', 'y' and 'z' are variable and I have spent many hours trying to find a way around my problem, can anybody make a suggestion. Mike . 0