<?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>Add Zeros in the string</title><link>https://community.appian.com/discussions/f/user-interface/29860/add-zeros-in-the-string</link><description>Hi, 
 I want my alphanumeric field with the below condition. 
 if the text is asdf45 I want the output total as 10 digits with Zero&amp;#39;s in the front. How can I do that? 
 When I try doing text(asd45,&amp;quot;0000000000&amp;quot;) --&amp;gt; this is not considering the strings</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Add Zeros in the string</title><link>https://community.appian.com/thread/153321?ContentTypeID=1</link><pubDate>Fri, 30 Jan 2026 09:42:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d7a8a2d-54c9-4111-a7be-927136a67232</guid><dc:creator>Marcus</dc:creator><description>&lt;p&gt;rept(&amp;quot;0&amp;quot;, 10-len(&amp;quot;asdf45&amp;quot;)) &amp;amp; &amp;quot;asdf45&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add Zeros in the string</title><link>https://community.appian.com/thread/118563?ContentTypeID=1</link><pubDate>Sat, 02 Sep 2023 12:31:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b41eb0e-cd95-4a1f-a0d6-5dc1bf80f2cd</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!text: &amp;quot;asdf45&amp;quot;,
  concat(
    stripwith(local!text, &amp;quot;0123456789&amp;quot;),
    text(
      cleanwith(local!text, &amp;quot;0123456789&amp;quot;),
      &amp;quot;0000000000&amp;quot;
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add Zeros in the string</title><link>https://community.appian.com/thread/118530?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 15:07:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ddb20cf3-bf35-48ba-bc65-9277b967ce22</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Probably cleaner to do something with a combination of concat/stripWith/cleanWith/text.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add Zeros in the string</title><link>https://community.appian.com/thread/118528?ContentTypeID=1</link><pubDate>Fri, 01 Sep 2023 14:44:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d27d3ea4-69dd-4747-894c-33afcd7463f1</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;I used join array and repeat function and it worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>