<?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>Regarding Like() Function</title><link>https://community.appian.com/discussions/f/general/17987/regarding-like-function</link><description>Hi All, 
 Can someone please help me with the like function to check whether the integers entered by the user manually should be from 01 to 10(01,02,03...09,10) 
 
 for example: like(local!Hostname,{&amp;quot;*&amp;quot;&amp;amp;index(local!,&amp;quot;data&amp;quot;,&amp;quot; &amp;quot;,null)&amp;amp;&amp;quot;-CSR- 0[1-9] &amp;quot;})</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Regarding Like() Function</title><link>https://community.appian.com/thread/71818?ContentTypeID=1</link><pubDate>Mon, 03 Feb 2020 13:43:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0632c6da-d3d9-45b4-8298-bc2f14923bf3</guid><dc:creator>Parth Gupta</dc:creator><description>&lt;p&gt;@shadmas0001&lt;/p&gt;
&lt;p&gt;My suggestion - text(1+enumerate(ri!input),&amp;quot;00&amp;quot;).&amp;nbsp;If I give ri!input as 10, you get the required result!. You can further concat the other things as you like&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding Like() Function</title><link>https://community.appian.com/thread/70783?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 10:38:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cfb3d79c-569c-4aa4-b39d-3072b86b4e21</guid><dc:creator>shadmas0001</dc:creator><description>&lt;p&gt;Thanks &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding Like() Function</title><link>https://community.appian.com/thread/70779?ContentTypeID=1</link><pubDate>Tue, 03 Dec 2019 06:45:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06a0817f-b12b-4262-9e8c-9837a1e37bdd</guid><dc:creator>Edwin Yesa Thangappan</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/shadmas0001"&gt;shadmas0001&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;You can achieve it by using two like functions.&lt;/p&gt;
&lt;p&gt;First one validates 10 and the second one validates 01-09.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!hostName: &amp;quot;MYPC-CSR-01&amp;quot;,
  or(
    like(
      local!hostName,
      {
        &amp;quot;*&amp;quot; &amp;amp; &amp;quot;-CSR-10&amp;quot;
      }
    ),
    like(
      local!hostName,
      {
        &amp;quot;*&amp;quot; &amp;amp; &amp;quot;-CSR-0[1-9]&amp;quot;
      }
    )
  )
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>