I have a line of characters that need to be separated. One example is like this:
513413;dialog_5 13413;Sally Mae has some jobs for you.;
Three sets of data all split into three groups placed in one line. What I would like to do is be able to read each group up to the semicolon (obviously without including it when it becomes displayed or used in the program).
So in conclusion I would just like to know a method that can either count or read the string (from a file) up to the semicolon. I am aware of string.read(siz e), but obviously size is needed and it is variable. Highly prefer having size given also.
Thanks! :)
513413;dialog_5 13413;Sally Mae has some jobs for you.;
Three sets of data all split into three groups placed in one line. What I would like to do is be able to read each group up to the semicolon (obviously without including it when it becomes displayed or used in the program).
So in conclusion I would just like to know a method that can either count or read the string (from a file) up to the semicolon. I am aware of string.read(siz e), but obviously size is needed and it is variable. Highly prefer having size given also.
Thanks! :)
Comment