cancel
Showing results for 
Search instead for 
Did you mean: 
ralphster
Active participant

How to add a space to a string in InstallShield script

Jump to solution

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.

0 Kudos
1 Solution

Accepted Solutions
Flexera banna_k
Flexera

Re: How to add a space to a string in InstallShield script

Jump to solution

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.

0 Kudos
1 Reply
Flexera banna_k
Flexera

Re: How to add a space to a string in InstallShield script

Jump to solution

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.

0 Kudos