FlexeraFan
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
MarkusLatz
Frequent contributor

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
MarkusLatz
Frequent contributor

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