I need to convert single slash "\" to double slash "\\". How to do it using installscript.
Thanks for your help.
Best Regards,
Deepak
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
conver \ to \\
Started by
tuteja
, Mar 26 2009 21:54
1 reply to this topic
Posted 27 March 2009 - 09:40
svResult = your string with single backslashes
szFind= "\\";
szReplace = "\\\\";
nStart = 0;
nResult = StrReplace ( svResult, szFind, szReplace, nStart );
In InstallScripit the \ is escaped as \\, therefore a double backslash is \\\\
szFind= "\\";
szReplace = "\\\\";
nStart = 0;
nResult = StrReplace ( svResult, szFind, szReplace, nStart );
In InstallScripit the \ is escaped as \\, therefore a double backslash is \\\\
Stefan Krüger
InstallSite.org twitter facebook