i am getting cookie value as parameter .I need to split the cookie value(name,value).
string Cookie ="secureToken_sdfsdfbsadbfsdhbh = Tdne68JhO5baix2Ey_K0ICV1HAAFvUP5BA==";
string[] cookieData = Cookie.Split('=')
It's even taking the last equal character also.I need following output.
cookie[0]=secureToken_sdfsdfbsadbfsdhbh
cookie[1]= Tdne68JhO5baix2Ey_K0ICV1HAAFvUP5BA==
It should consider only the first equal character.after that it shouldn't spilt the string