Skip to main content
Nintex Community Menu Bar

How to replace "space" in string to "%20"

  • July 11, 2018
  • 1 reply
  • 458 views
  • Translate

I was building the attachment URL as per example on

Nintex Workflow - Get Attachment Urls UDA - Vadim Tabakman 

 

I successfully build the string of the URL.

 

But, the problem occur, when the attachment name have multiple space. e.g.: "abc<space><space>def.txt"

This will cause generated URL "https:\blahblahblahlalalaabc  def.txt" broken or unable access by the broswer.

The proper URL should be "https:\blahblahblahlalalaabc%20%20def.txt".

 

How can I replace the <space> to %20 in O365 nintex workflow string? Since you can't put <space> in the replace string action?

 

Any idea?

Forum|alt.badge.img+5

How about using a Regular Expression workflow action?

s (any white space character) to be replaced with %20?

When configuring the Regular Expression workflow action, it would be as follows:

Pattern: s

Operation: Replace text

Replacement text: %20

Input text: if variable or column that is used to store the URL value

Store result in: vartxtURLvariable

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings