Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

chloechen1995
chloechen1995
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
1

Posts

Posts
1

Discussions

Discussions
1

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by chloechen1995
Customize the badges you want to showcase on your profile
Re: Extract part of a string in Adobe Campaign - Adobe Campaign Standard 20-07-2017
Helo @chloechen1995If you cannot use the above (in the webApp) you might use e.g.// "http://domain.com?par1=pp&par2=ff"var url = "http://abc.com?q=2q42&ctype=ids&cval=3444444&ttag";String.prototype.getParameter = function(param){ if(this.split("?").length != 2) return false; for each(var qp in this.split("?")[1].split("&")){ if (qp.split("=").length==2) if(qp.split("=")[0] == param) return qp.split("=")[1]; } return false;}logInfo(url.getParameter("cval")); // >>> 3444444Marcel

Views

1.2K

Like

1

Replies

0
Likes from