I recieve a string, which consists of multiple lines, from a UDP connection.
(It's that java program I'm translating for those who have read my other topics)
Now, I need to split this string in seperate lines, but this does not seem to work.
In the java program "\n" is used as delimiter to split the string, but when I try to split (in the translated vb.net program) using VbNewLine it does not work. I also tried VbCr and VbCrLf...
I did an experiment: I used the InStr to see if VbNewLine or whatever is found in the string. Apparently none of them are found.
Are there more options to create new lines I haven't checked?
(It's that java program I'm translating for those who have read my other topics)
Now, I need to split this string in seperate lines, but this does not seem to work.
In the java program "\n" is used as delimiter to split the string, but when I try to split (in the translated vb.net program) using VbNewLine it does not work. I also tried VbCr and VbCrLf...
I did an experiment: I used the InStr to see if VbNewLine or whatever is found in the string. Apparently none of them are found.
Are there more options to create new lines I haven't checked?
Comment