<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change to &amp;quot;include this&amp;quot; instead of &amp;quot;match this&amp;quot;? in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638974#M113343</link>
    <description>&lt;P&gt;I'm not entirely sure this is a valid question...it may already be doing it and my code problems lie elsewhere.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2020 13:02:45 GMT</pubDate>
    <dc:creator>acadadmin3KNUF</dc:creator>
    <dc:date>2020-07-16T13:02:45Z</dc:date>
    <item>
      <title>How to change to "include this" instead of "match this"?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638181#M113308</link>
      <description>&lt;P&gt;Could someone inform me how how to modify this line of iLogic code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;part_to_find&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"scissors_for_under_21"&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;I need for this line of code to read "must INCLUDE" this bit of text as opposed to "must MATCH" this.&amp;nbsp; &amp;nbsp;Thanks for your attention.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 03:47:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638181#M113308</guid>
      <dc:creator>acadadmin3KNUF</dc:creator>
      <dc:date>2020-07-16T03:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to change to "include this" instead of "match this"?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638974#M113343</link>
      <description>&lt;P&gt;I'm not entirely sure this is a valid question...it may already be doing it and my code problems lie elsewhere.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:02:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638974#M113343</guid>
      <dc:creator>acadadmin3KNUF</dc:creator>
      <dc:date>2020-07-16T13:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change to "include this" instead of "match this"?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638989#M113346</link>
      <description>&lt;P&gt;Correct, your issue is somewhere else in the code. That line only creates the string, you need to compare the string elsewhere.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;strString&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"teststring"&lt;/SPAN&gt;

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;strString&lt;/SPAN&gt;.&lt;SPAN&gt;Contains&lt;/SPAN&gt;(&lt;SPAN&gt;"test"&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;'Do stuff if string contains "test"&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; 

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;strString&lt;/SPAN&gt; = &lt;SPAN&gt;"test"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;'Do stuff if string is "test"&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;In this code, the first statement is true, but not the second.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:10:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-change-to-quot-include-this-quot-instead-of-quot-match/m-p/9638989#M113346</guid>
      <dc:creator>ckeveryga</dc:creator>
      <dc:date>2020-07-16T13:10:38Z</dc:date>
    </item>
  </channel>
</rss>

