Skip to content
⌘ NSIS Forum Archive

String Search and Replace

3 posts

danmorg#

String Search and Replace

Using NSIS, I would like to know how to
do a search and replace.

Say, I want to search for "\" and replace with "/"
for a file path.

Let's say my $INSTALLDIR
is "C:\MyPath\Install"

I would like the resulting string to be
"C:/MyPath/Install"

How would I do this?

Thanks in advance.
Joel#
In the Nsis Archive there are some goodies about strings: