Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-17-2007, 12:19 PM
John Kerr John Kerr is online now
Registered User
 
Join Date: 08-17-2006
Posts: 10
Search for string with quotes in file

I am looking for a way to create a conditional build step based upon a string search in a file. I have found the script expression [InStr(vbld_FSO().OpenTextFile("%FILE%").ReadAll(), "Some String") > 0 ] in the forum to use when "Build only if macro or expression" evaluates to true. However, the string I need to search for contains quotes. Can you help? I can't fiqure out how to escape the quotes in the script expression.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:32 PM.


Copyright © 1999-2023 Kinook Software, Inc.