cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Active participant

How to search for a double quote in a string.

Jump to solution

I am using an install script installshield project.

How can I search for a double quote in a string? I know that there is a strFind function to search a string. I tried something like this, but it did not work. 

strFind(stringToSearch,"""");

Labels (1)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Frequent contributor

Re: How to search for a double quote in a string.

Jump to solution

You have to "mask" the special character:

strFind(stringToSearch,"\"");

see here:

https://docs.flexera.com/installshield22helplib/installshield22helplib.htm

regards

Markus

View solution in original post

0 Kudos
1 Reply
Highlighted
Frequent contributor

Re: How to search for a double quote in a string.

Jump to solution

You have to "mask" the special character:

strFind(stringToSearch,"\"");

see here:

https://docs.flexera.com/installshield22helplib/installshield22helplib.htm

regards

Markus

View solution in original post

0 Kudos