AnsweredAssumed Answered

How to properly use STRCAT in parsers?

Question asked by Tomi Reiman on Apr 27, 2017
Latest reply on May 2, 2017 by John Kisner

I have a log message from which I have parsed the URI scheme ("http" or "https") into <scheme>, the hostname into <host>, and the request part into <request>. When I try to concatenate the three parts into an URL with <@url:*STRCAT(scheme,'://',host,request)> everything works fine except that I get apostrophes around the second parameter string ("://").

 

Why is this? enVision Universal Device Support Guide explicitly says that strings need to be closed in apostrophes, yet they are passed into the resulting concatenation. How can I concatenate the three fields with the one static string so that I do not end up with apostrophes in the middle of my URL meta value?

Outcomes