Parsing Strings
>
>I have a situation where I need to parse out a string of values into a
>list.  That much is easy.  But..since I have several places where I need to
>do this, I want to put the thing into a procedure.  It seems like this
>solution should be easy, but I'm confused.
>
>The goal is basically to take a string that has a value like this:
>
>#Delphi #TheVillageInn #mp3tunes
>
>And put it into a combo box item list like this:
>
>#Delphi
>#TheVillageinn
>#mp3tunes
>
>Breaking down the string is easy.  Its getting it between a procedure and
>the combobox list that I'm not sure of. I thought of a pointer to the Items
>list in the procedure header..can't seem to get that to work.

I'm puzzled as to why someone hasn't suggested using the CommaText
property of TStrings ie:

ComboBox1.Items.CommaText := AStringOfValues;

It breaks the string up for you, however it has a gotcha in that if you
have quotes in your string, it will include them in your string list,
even if you don't want them..