Hello All,

I am not new to this, just rusty...

I am reading in a line of text from a file.

I would like to parse through this line until I find the first ',' and take the characters before that and create a string:

ie/ hello, world, how,

I would like to end up with string1 = hello

HOWEVER, unlike in C++ where I can just say: string1 = string1 + lineoftext[i],
I am trying to use

srtcat(string1, lineofText[i])

My problem is its giving me a compiler error that i'm trying to use a character (lineoftext[i]) and not a string.

any ideas would be greatly appreciated. thanks.