Need to perform a string replace

(Timothy Wall) #1

I have some fields with some url encoded content. Since there is no urldecode function, the next best thing would be to do a straight string replace.

I could use split to excise the target substrings, but there is no complementary join to finish the replacement.

Example (twice-encoded spaces):

This%2520is%2520an%2520example. => “This is an example”

Is there a way to convert this to an unencoded form? I’ve tried regex replace, but that only affects the first such match, and I’m not sure a repeated match could be used in a meaningful way (e.g. “(([^%]+)(?%2520)?)”)

(Jochen) #2

Please create a feature request at

(system) closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.