خرید بک لینک

Vote count: -1

I need to parse the line from the stream that would look like this: command "string1" "string2" string can contain spaces and escaped double-quotes. I need to split it so that I get command, string1 and string2 as array elements. I think split() with regex matching " but not " ( .split("(?<!\\)"") ) would do the job, but I hear that that is not a good idea. What's the best way to do that in Java?

asked 50 secs ago

برچسب: ,how to parse json,how to parse json in java,how to parse a string in java,how to parse data in excel,how to parse json in python,how to parse json in javascript,how to parse xml,how to parse xml in java,how to parse xml in python,how to parse a string in c,,, نویسنده: استخدام کار تاريخ: يکشنبه 17 مرداد 1395 ساعت: 7:14

صفحه بندی