I have this string
"G_ENABLED_IDPS=app; COOKIE_EINF=someCookie; _ga=someGA;
_hjid=someHJID; _gcl_au=someglcau; COOKIE_EINF_SESS=somecookie1; _gid=somegid; _hjIncludedInPageviewSample=2; _hjTLDTest=3; _hjAbsoluteSessionInProgress=0; _hjIncludedInSessionSample=1; _gat_UA-124355-12=5"
And i need some sort of function to split
this string given an argument , for example given that my string is text
text.split(";")
, will split it into an array separating it by ";"
But i need a function like this
returnText(text , property)
that would work like
returnText(text, "_gcl_au") --> returns "someglcau"