- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to add a space to a string in InstallShield script
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I am building a string that I eventually pass off to the "LaunchAppAndWait" function. A portion of the string is double quoted. Right after the double quoting of the string, I need to add a blank space. It is not working though, as the blank space is being ignored. So how can I add a blank space immediately after I double quote the string?
Example:
STRING mySpace = " ";
myString = myString + "\"servr-2100A\"" + mySpace + "SQL2100DB";
Note that the line above does not work as the string ignores my space. The end result is:
"serv-2100A"SQL2100DB
As you can see the space is being ignored.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ralphster ,
I tried my end to reproduce the issue in the latest version, but the string is coming with space.
For more information, you can check the attached image and the out put string value in the watch window.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ralphster ,
I tried my end to reproduce the issue in the latest version, but the string is coming with space.
For more information, you can check the attached image and the out put string value in the watch window.