View Full Version : Function to change slash in path

05-26-2006, 02:39 PM
Please create a function to change the slashes in a path from backslash to forward slash. This functionality is going to be need more as more installations are written for java application servers.

05-30-2006, 09:56 AM
Would the existing StrReplace function work for you?

05-30-2006, 09:59 AM
I have it coded now. It would just be nice if there were a built-in function for it because it will be used often.

Christopher Painter
05-31-2006, 09:16 AM
He probably has a point. Sure you can make your own wrapper function to do the conversion but it'd be nice if InstallScript already bought that for you. Afterall one of the big selling points for InstallScript and InstallShield is that it already has all of this plumbing done for you since it's a Domain Specific Language.

After all who really wants to write functions to do simple things like ParsePath or the ^ operator.

05-31-2006, 10:30 AM
Afterall there are already built-in functions to add/remove the last slash.