I am needing some advice from the Delphi experts. I have a program that will read an ascii string into a serial buffer. I need to be able to parse sections of the string and place them in to a TLabel. The string has spaces and I have not be able to find any information on the net about parsing a string with spaces. Here is an example of a string that I'm wanting to parse.
>2/14/07 23:00:25 Station - 4 Unit - 1 Command : Responding^M^J
> Command : PA off^M^J
What I would like to be able to do is take the date 2/14/07 and place it in a TLabel. Then take the time and do the same thing ect. ect. The ^M and ^J is a CR and LF. Does anyone have and recommendations on how I could parse out a string such as this?