You are going to have to be more specific but if you are using winapi
you can acquire the text strings from the message EM_GETLINE i believe. There is plenty of documentation online....
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

you will have to use EM_GETLINEINDEX (i think) beforehand to get the index of the first character. There are examples available on msdn, once again.