I have a response that I am getting from a server. The response needs to be split using the delimiter "=" but for one of the argument there is "=" in its value which needs to be included as well. Example: Response: Name=Hi&Code=Ind=&Age=23
Once I get this response I split the string with & as delimiter. Next I split it with delimiter = but in this case code should have the value as Ind= but it is coming as Ind . I have other functions as well where I am using the same split function for parsing the response. Is there any regex or delimiter I can use which will be the best for my usecase here.
I tried different approach of include ahead delimiter regex but they didn't work.