Hi,
Hoping someone can assist with some string manipulation using jQuery.
Basically, within a .click(function(){ I have the following string variable:
f?p=251:1007:3642668879504810:::::
What I need to do using jQuery is basically remove the number 3642668879504810 (which changes, i.e is a random number so cannot match on this number) between the second and third colon within this string variable, so the end result would be as follows, still maintaining all the colons
f?p=251:1007::::::
Any help would be appreciated.
Thanks.