This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to search for a double quote in a string.
Subscribe
- 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
Apr 05, 2020
06:39 PM
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,"""");
(1) Solution
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 07, 2020
08:52 AM
You have to "mask" the special character:
strFind(stringToSearch,"\"");
see here:
https://docs.flexera.com/installshield22helplib/installshield22helplib.htm
regards
Markus
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 07, 2020
08:52 AM
You have to "mask" the special character:
strFind(stringToSearch,"\"");
see here:
https://docs.flexera.com/installshield22helplib/installshield22helplib.htm
regards
Markus
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)