java - split string using regular expression

后端 未结 3 1872
一生所求
一生所求 2020-12-31 23:58

I need to split a string where there\'s a comma, but it depends where the comma is placed.

As an example

consider the following:

C=75,user_is         


        
3条回答
  •  醉梦人生
    2021-01-01 00:22

    As an alternative, if you need more than one level of parentheses, you can create a little string parser for parsing the string character by character.

提交回复
热议问题