AdrianM
Rookie

Text string with a single space

Jump to solution

I would like to use the Modify String task to replace a single space with an empty string.

If I use an empty string variable when specifying the replacement string I can successfully run this using Workflow Testing.

However, I am unable to publish this because it considers a single space as an unconfigured action.

The same issue occurs if I first Create a Test String and populate it with a space and then use that variable in the Modify String task (except that the error is now for the Create a Test String task).

I am wanting to do this on a Component Workflow so I am unable to get around this with form variable functions.

I am trying to avoid using the Apply a Regular Expression task because they require additional actions to concatenate the character array output.

Is there any way to get this to work with the Modify String task?

Labels: (1)
0 Kudos
Reply
1 Reply
leighburke
Nintex Employee
Nintex Employee

Re: Text string with a single space

Jump to solution

@AdrianM Use your empty text variable after the space in the modify string as well, like below.

leighburke_0-1633643463651.png

 

View solution in original post

Reply