<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic To extract each digit from a number data item in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/To-extract-each-digit-from-a-number-data-item/m-p/64126#M16953</link>
    <description>I am creating a process Toto check for Armstrong's Number, where one need to extract each digit from a number data item in order to do the following calculation&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Amstrongnumber &lt;BR /&gt;Ex:- 345&lt;BR /&gt;If sum of (3*3*3) + (4*4*4) + (5*5*5) = 345&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Sinha&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Thu, 23 Jul 2020 10:09:00 GMT</pubDate>
    <dc:creator>MayankSinha1</dc:creator>
    <dc:date>2020-07-23T10:09:00Z</dc:date>
    <item>
      <title>To extract each digit from a number data item</title>
      <link>https://community.blueprism.com/t5/Product-Forum/To-extract-each-digit-from-a-number-data-item/m-p/64126#M16953</link>
      <description>I am creating a process Toto check for Armstrong's Number, where one need to extract each digit from a number data item in order to do the following calculation&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Amstrongnumber &lt;BR /&gt;Ex:- 345&lt;BR /&gt;If sum of (3*3*3) + (4*4*4) + (5*5*5) = 345&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Mayank Sinha&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2020 10:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/To-extract-each-digit-from-a-number-data-item/m-p/64126#M16953</guid>
      <dc:creator>MayankSinha1</dc:creator>
      <dc:date>2020-07-23T10:09:00Z</dc:date>
    </item>
    <item>
      <title>RE: To extract each digit from a number data item</title>
      <link>https://community.blueprism.com/t5/Product-Forum/To-extract-each-digit-from-a-number-data-item/m-p/64127#M16954</link>
      <description>Hi Mayank,&lt;BR /&gt;&lt;BR /&gt;Here are two ways you could do this:&lt;BR /&gt;&lt;BR /&gt;Option 1: &lt;BR /&gt;Using Utility - Strings VBO, Split Lines by Length and set maximum line length to 1. The input value has to be text data type for this to work. &lt;BR /&gt;&lt;BR /&gt;Option 2:&lt;BR /&gt;Get the length of the integer with the Len() text function.&lt;BR /&gt;Then use the Mid text function to iterate through the data item with length set to 1 character. Start with the first character and stop when you have reached the last character (which is the same as the length). &lt;BR /&gt;&lt;BR /&gt;You would also need to check if it's a negative integer and disregard the minus sign.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patrick Aucoin&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Jul 2020 18:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/To-extract-each-digit-from-a-number-data-item/m-p/64127#M16954</guid>
      <dc:creator>PatrickAucoin</dc:creator>
      <dc:date>2020-07-23T18:56:00Z</dc:date>
    </item>
  </channel>
</rss>

