Unpacking a incoming list/string that is divided by commas and not spaces
Hi All,
I am writing a patch and it needs to quarry another program on the network about what it is doing (that communication is working fine), but the replay string is divided by "\," and not " " (a space) and i haven't come across this before. I have used unpack in the past to hand strings with spaces, but i can't seam to get it to handle this configuration of a string. Tried unjoin too, but didn't have any luck with that ever.
Here is two examples of a reply string that i get return:
1\,2\,3\,4\,5\,6\,7\,8 (This is tell me the ID number of the 8 items - amount of items can change)
Video1\,Video2\,Video3\,Video4\,Video5\,Video6\,Video7\,Video8 (This is tell me the Name of the 8 items - amount of items can change)
I can have two different methods for handling this if the different between int and symbols requires it.
Any help would be much appreciated
Thanks
looks like it's working with fromsymbol @separator ,
Thank you very much, this works great!