<?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>getting Count of a digits present in a numeric value</title><link>https://community.appian.com/discussions/f/data/12659/getting-count-of-a-digits-present-in-a-numeric-value</link><description>Can anyone suggest me which function or expression I can get the count of digits in a numeric value? i.e. I have a number like 240001. My desired output: 6</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: getting Count of a digits present in a numeric value</title><link>https://community.appian.com/thread/56565?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 14:02:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8e05a5ed-18e8-4133-bc5d-3a0306f78384</guid><dc:creator>Dan Lluhi</dc:creator><description>Hi, if you want to get everything to the right of the semicolon, you can use the function fn!split(ri!text,&amp;quot;;&amp;quot;), which will create an array of text strings. From there you can get the second element, which would be your 0222001.&lt;br /&gt;
&lt;br /&gt;
If instead you want the length of the whole string, but just without the semicolon, you can use the function fn!stripwith(ri!text,&amp;quot;;&amp;quot;), which will return a single text string without any semi colons at all.&lt;br /&gt;
&lt;br /&gt;
Here&amp;#39;s the documentation for each of the functions:&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.2/fnc_text_split.html"&gt;docs.appian.com/.../fnc_text_split.html&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.2/fnc_text_stripwith.html"&gt;docs.appian.com/.../fnc_text_stripwith.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Dan&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting Count of a digits present in a numeric value</title><link>https://community.appian.com/thread/56564?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 13:57:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6c2f6a0c-f63b-4428-a8b6-214f89301b23</guid><dc:creator>dippomanm607</dc:creator><description>IF I have an expression like this : &amp;quot;MKS180;0222001&amp;quot; and need to remove the semicolon in between which function I should use?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: getting Count of a digits present in a numeric value</title><link>https://community.appian.com/thread/56561?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 13:49:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1b4a8c9-d802-4f70-a8af-16edbfcef000</guid><dc:creator>Dan Lluhi</dc:creator><description>Hi, the function fn!len() will return the number of characters in an input string. If you pass it a number, it&amp;#39;ll convert the number to a string and perform the same action. Here is the documentation for it: &lt;a href="https://docs.appian.com/suite/help/18.2/fnc_text_len.html"&gt;docs.appian.com/.../fnc_text_len.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Dan&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>