title: iMacros if/else statement how to?
body: <p>I'm attempting to pull some data from a webpage. I'm running into trouble with an extra line of data that occurs in some situations.</p>
  
  <p>Here is a block of my code:</p>
  
  <pre><code>VERSION BUILD=10.4.28.1074
  TAB T=1
  TAG POS=114 TYPE=TR ATTR=* EXTRACT=TXT
  SET !VAR1 {{!EXTRACT}}
  SET !EXTRACT NULL
  TAG POS=115 TYPE=TR ATTR=* EXTRACT=TXT
  SET !VAR2 {{!EXTRACT}}
  SET !EXTRACT NULL
  TAG POS=116 TYPE=TR ATTR=* EXTRACT=TXT
  ADD !EXTRACT {{!VAR1}}
  ADD !EXTRACT {{!VAR2}}
  SAVEAS TYPE=EXTRACT FOLDER=\\admin\Documents\iMacros FILE=extracttest2.csv
  </code></pre>
  
  <p>You'll notice this code has tag pos 114,115, and 116. However, sometimes I will only need to extract 114 and 115. </p>
  
  <p>POS 114 starts with either "Owner:" or "Owners:". If "Owner:" then I only need to extract 114 and 115. If "Owners:" I need to extract 114, 115, and 116. </p>
  
  <p>Is there a way to make an if/else statement or other type of rule that says if 114 contains the word "Owner" only POS 114 and 115 will be extracted. And if 114 contains the word "Owners" POS 114, 115 and 116 will be extracted? </p>
  
  <p>Thanks in advance for any advice.</p>