<?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>need expression</title><link>https://community.appian.com/discussions/f/new-to-appian/38528/need-expression</link><description>How to express this statment in code format: 
 
 if ri!service is null, just return ri!service else if ri!service ends with a period, 
 don&amp;#39;t include period part, otherwise do 
 
 value for ri!service : &amp;quot; Any days of serious level of working after March</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: need expression</title><link>https://community.appian.com/thread/145369?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 15:09:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:678cb725-ab81-4356-816e-5f6e35194e22</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;if(
  right(ri!text, 1) = &amp;quot;.&amp;quot;,
  left(ri!text, len(ri!text)-1),
  ri!text
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need expression</title><link>https://community.appian.com/thread/145353?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 09:34:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6d57934c-594b-45d4-a1ed-6973defffccf</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;You could try the generative AI capabilities.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need expression</title><link>https://community.appian.com/thread/145348?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 07:54:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:43fc6adb-85de-43f7-9bbb-883882efd3c5</guid><dc:creator>om786</dc:creator><description>&lt;p&gt;ya its simple text only...&lt;/p&gt;
&lt;p&gt;any way to do this task....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need expression</title><link>https://community.appian.com/thread/145347?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 07:52:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bd0f490c-8e23-4d57-b81d-d96d1c210d2e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What format does this &amp;quot;period&amp;quot; have? I mean, if this is just random text entered by a person, this becomes quite a challenge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need expression</title><link>https://community.appian.com/thread/145341?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 01:50:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4977aba8-0da3-4bd5-ab51-eb779cf39aa1</guid><dc:creator>om786</dc:creator><description>&lt;p&gt;Input is recevied as in simple text format :&amp;nbsp;&lt;span&gt;&lt;strong&gt;Any days of serious level of working&lt;/strong&gt; &lt;span style="background-color:#ffff00;"&gt;&lt;strong&gt;after March,7,2025&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;output only expected:&amp;nbsp;&amp;nbsp;&lt;span style="background-color:#00ff00;"&gt;&lt;strong&gt;Any days of serious level of working&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#00ff00;"&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#00ff00;"&gt;&lt;span style="background-color:#ffffff;"&gt;As the input is in text format &amp;amp; date or period part at the last is keep changing with every user. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:#00ff00;"&gt;&lt;span style="background-color:#ffffff;"&gt;so need to avoid the period part if provided by user, rest text part needed to be print.&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="display:none;position:absolute;"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: need expression</title><link>https://community.appian.com/thread/145340?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 01:34:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c81622f-95b7-4c52-9cc1-7dfd7e672425</guid><dc:creator>karthikkanjerla</dc:creator><description>&lt;p&gt;if you would like to remove period use stripwith()&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;can you provide an example whats the input is recieved and output you are expecting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>