<?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 Hello Hussain  It depend on… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49952#M5266</link>
    <description>Hello Hussain&amp;nbsp; It depend on your logic to create a code to calculate the the result i have created a code kindly find it in the below screen shot and the Explanation.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
Let us Consider Data1 Has Text :my name is xxxx my father name is yyyy and my mother name is zzzz .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Step 1 : &amp;nbsp;you need the search for the position of the text ""my"" (Expression :[InStr([Data1], ""my"")] store it in variable Position) and it will return 1 then&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Step 2 : decision stage :check Position of ""my""(That is 1) is &amp;lt; Length of (Data1)&amp;nbsp; Expression :[Position]</description>
    <pubDate>Wed, 21 Feb 2018 17:30:00 GMT</pubDate>
    <dc:creator>SachinBais</dc:creator>
    <dc:date>2018-02-21T17:30:00Z</dc:date>
    <item>
      <title>Count how many times a specific word(text) is mentioned in a text</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49950#M5264</link>
      <description>Hi,

I have a long text in a Data Item, and I need to count how many times a specific work in that text is repeated. Is it possible with a certain expression, or probably a Code?

Example:

"Hello my name is Bob and my age is 33"

Search word: "my"

Result: 2 times

Thank you</description>
      <pubDate>Wed, 21 Feb 2018 14:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49950#M5264</guid>
      <dc:creator>HussainHafath</dc:creator>
      <dc:date>2018-02-21T14:15:00Z</dc:date>
    </item>
    <item>
      <title>Hi Hussain - if you Google…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49951#M5265</link>
      <description>Hi Hussain - if you Google&amp;nbsp;Regular Expressions you'll find .Net code examples of this. You could also do by searching the text in a loop&amp;nbsp;if you're not comfortable with code.</description>
      <pubDate>Wed, 21 Feb 2018 16:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49951#M5265</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-02-21T16:03:00Z</dc:date>
    </item>
    <item>
      <title>Hello Hussain  It depend on…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49952#M5266</link>
      <description>Hello Hussain&amp;nbsp; It depend on your logic to create a code to calculate the the result i have created a code kindly find it in the below screen shot and the Explanation.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;
Let us Consider Data1 Has Text :my name is xxxx my father name is yyyy and my mother name is zzzz .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Step 1 : &amp;nbsp;you need the search for the position of the text ""my"" (Expression :[InStr([Data1], ""my"")] store it in variable Position) and it will return 1 then&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Step 2 : decision stage :check Position of ""my""(That is 1) is &amp;lt; Length of (Data1)&amp;nbsp; Expression :[Position]</description>
      <pubDate>Wed, 21 Feb 2018 17:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49952#M5266</guid>
      <dc:creator>SachinBais</dc:creator>
      <dc:date>2018-02-21T17:30:00Z</dc:date>
    </item>
    <item>
      <title>Easiest way would be -…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49953#M5267</link>
      <description>Easiest way would be -
1.simply split the long text by that specific word by using split text action of utility-string object. You will get collection as an output.
2. (number of rows&amp;nbsp;in collection - 1)&amp;nbsp;&amp;nbsp; would be the required output you want. To get number of rows of collection, use count action of collection business object.
It can&amp;nbsp; be done with just two simple steps instead of writing code.</description>
      <pubDate>Fri, 23 Feb 2018 12:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Count-how-many-times-a-specific-word-text-is-mentioned-in-a-text/m-p/49953#M5267</guid>
      <dc:creator>ShwetaChavan</dc:creator>
      <dc:date>2018-02-23T12:12:00Z</dc:date>
    </item>
  </channel>
</rss>

