<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How can we compare two text values</title><link>https://community.appian.com/discussions/f/new-to-appian/29805/how-can-we-compare-two-text-values</link><description>Hi All, 
 
 How can we compare two text values 
 
 for example &amp;quot;batting&amp;quot; is text1 and &amp;quot;bat&amp;quot; is text2 
 
 if batting compare with bat then it should write True. because bat word is there in batting word 
 
 
 
 Is there any logic for this ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can we compare two text values</title><link>https://community.appian.com/thread/118241?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 11:12:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b41e0791-9c66-48d8-9ce0-eaf1c73663a5</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;One thing to note is that find() is case sensitive while search() is case insensitive depending on what your use case may be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we compare two text values</title><link>https://community.appian.com/thread/118230?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 09:38:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:42a351d5-bcf8-4b0a-aad5-0d3f8444d2fd</guid><dc:creator>anmolvijayvergiya</dc:creator><description>&lt;p&gt;&lt;span&gt;Logic for find() function as suggested by Purvaja&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!x: find(&amp;quot;bat&amp;quot;, &amp;quot;batting&amp;quot;),
  if(local!x &amp;lt;&amp;gt; 0, true, false()),
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can also use search() or searchb() funtions for the same in place of find() function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can we compare two text values</title><link>https://community.appian.com/thread/118228?ContentTypeID=1</link><pubDate>Tue, 29 Aug 2023 09:08:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2df68406-3b9a-4f05-80b2-aa9b920cc85b</guid><dc:creator>Purvaja</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.1/fnc_text_find.html"&gt;docs.appian.com/.../fnc_text_find.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>