cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FlexeraFan
Level 5

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
Level 8

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
Level 8

You have to "mask" the special character:

strFind(stringToSearch,"\"");

see here:

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

regards

Markus

0 Kudos