Pull DocumentName with %20 in it's spaces

Duncan Koza asked on February 20, 2020 15:59

I am trying to insert the {% DocumentName %} into the subject line of an email link.

I need to fill the spaces in the name with %20. Is there a way to do that?

I want to change my title from this to this:

This is my Title --> This%20is%20my%20Title

Correct Answer

Brenden Kehren answered on February 20, 2020 16:06

Using K# syntax you can use:

Replace(DocumentName, " ", "%20")

1 votesVote for this answer Unmark Correct answer

Recent Answers


Duncan Koza answered on February 20, 2020 17:02

You are awesome Brenden. Thank you very much.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.