Jump to content


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.
Photo

Problem converting single slash to double slash


3 replies to this topic

happytechie

happytechie
  • Members
  • 8 posts

Posted 04 February 2003 - 14:40

Hi All,
I need to write the installation directory (including drive letter) to a .ini file to be read by a Java.util.properties object.  This object reads files as unicode where a single backslash is encoded as a double backslash \\.

Is there a function in installscript that will do this conversion for me?

Thanks in advance

Happytechie

happytechie

happytechie
  • Members
  • 8 posts

Posted 05 February 2003 - 12:08

Hi Again,

I am getting knowwhere with this, all I need to do is to take a string valiable and convert the single backslashes (\;) with double backslashes (\\;) This seems simple but I cannot find the required string manipulation functions in installScript for IS Developer 7.

HT

happytechie

happytechie
  • Members
  • 8 posts

Posted 05 February 2003 - 15:38

I found a way around it using the strEplace method from one of your IS Pro Tools and Tips sections

Ta

HT

happytechie

happytechie
  • Members
  • 8 posts

Posted 05 February 2003 - 15:39

I found a way around it using the strEplace method from one of your IS Pro Tools and Tips sections

Ta

HT  :D