<?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>Remove space</title><link>https://community.appian.com/discussions/f/rules/34181/remove-space</link><description>Hi I am trying to remove space Infront of 9 as shown in below image 
 I tried with trim but still the space is coming &amp;lt; can anyone help me with this? Attached my code in this message</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130301?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 13:42:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:977d92d9-32b2-4568-8d05-76fab0141e0a</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="21957" url="~/discussions/f/rules/34181/remove-space/130253"]He already tried&amp;nbsp;using trim() [/quote]
&lt;p&gt;Oof, somehow I&amp;#39;d missed that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130253?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 02:19:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c07f25d1-d3ee-47eb-8268-f8837e3ccc40</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;He already tried&amp;nbsp;using trim() and it didn&amp;#39;t work which is why I assumed there were non-printable spaces in there.&lt;/p&gt;
&lt;p&gt;i.e.&amp;nbsp;&lt;a href="https://www.namecheap.com/visual/font-generator/whitespace/"&gt;www.namecheap.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!nonPrintableSpaces: { &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot;, &amp;quot; &amp;quot; },
  local!characterString: concat(local!nonPrintableSpaces),
  local!trim: trim(local!characterString),
  local!stripPlusTrim: stripwith(local!trim,&amp;quot; &amp;quot;),
  local!cleanPlusTrim: clean(local!trim),
  {
    characterCodes: code(local!nonPrintableSpaces),
    trim: local!trim,
    stripPlusTrim: local!stripPlusTrim,
    cleanPlusTrim: local!cleanPlusTrim
  }
)&lt;/pre&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1709173140389v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130245?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 17:56:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5044775f-1492-4548-b44d-4422b3c80e9b</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;fn!clean() will not remove a single space, it will only reduce multiple spaces down to 1 (as far as spaces specifically are concerned).&lt;/p&gt;
&lt;p&gt;Otherwise my favorite for this type of use case is &lt;a href="https://docs.appian.com/suite/help/23.4/fnc_text_stripwith.html"&gt;fn!stripwith()&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;stripwith(&amp;quot; 01234&amp;quot;,&amp;quot; &amp;quot;)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130241?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 14:47:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f759c896-fc55-421c-a688-ed9fb34c7d14</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;i&amp;#39;d actually suggest &lt;a href="https://docs.appian.com/suite/help/23.4/fnc_text_trim.html"&gt;trim()&lt;/a&gt;... it&amp;#39;s specifically for this sort of thing TBH.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1709131626946v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130236?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 12:17:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dba33fd1-9b04-4466-b668-b249bf7ff2d4</guid><dc:creator>JayaPrakash Ravipati</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/dineshv0008"&gt;Vattikundala Dinesh&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;you can also use the trim() function to remove the unwanted spaces.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130226?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 10:41:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f906dbf0-c3f1-4ec6-8fb6-8004ea6009e8</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Depends on what is the value. It is going to be a sentence where you only want to remove extra spaces but would want keep the right number of space between every word, then like Mathieu said, you can go with clean.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you want to remove all the spaces, no matter what, then substitute can help you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1709116891229v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remove space</title><link>https://community.appian.com/thread/130222?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 10:32:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d564f1b-1989-4559-80d1-d16b380cdd94</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Did you try clean?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.4/fnc_text_clean.html"&gt;docs.appian.com/.../fnc_text_clean.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>