How to replace a space with %20 in a file iterator?

Hi there,

I’m trying to replace all spaces in a file path from an iterator with %20 so that I can use the iterator to call the subversion delete action.
However the output I get from the string replace method is:
String Replace:   has been replaced with 
Input string is: C:\Dev\BuildTmp\ProjectName\Compiled\Some library.dll

Search string is set to ’ ’ 
(A space)
Replacement string is set to: %%20%

Any idea why it is not replacing the empty space?

Thanks,

Hi Nicklas,

I was able to get this to work.

FIND STRING TAB

Search String: ’ ’ (a space without the quotes)
- uncheck all check boxes

REPLACE TAB
Replacement String: %20%
- choose “Replace Text and Write Back to source file”
- uncheck all check boxes

Thanks,
Dave

Using Text Find/Replace instead of String Replace did solve it for me. However I use %20 as the replace string, which works fine.

Thanks!