<?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 Re: Extract words from a free text field containg a description and adding those words one by one to another table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421333#M95698</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You can use the function SubField, with the space as a delimiter - that will break the text into individual words. Then, you should probably worry about punctuation characters - commas, periods, etc, and remove them using the function PurgeChar().&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 16:21:51 GMT</pubDate>
    <dc:creator>Oleg_Troyansky</dc:creator>
    <dc:date>2024-02-20T16:21:51Z</dc:date>
    <item>
      <title>Extract words from a free text field containing a description and adding those words one by one to another table</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421325#M95697</link>
      <description>&lt;P&gt;I need some ideas to build a LOAD script to&amp;nbsp;extract words from a free text field containing a description and adding those words one by one to another table&lt;BR /&gt;&lt;BR /&gt;A pseudo code could look like this:&lt;BR /&gt;&lt;BR /&gt;for each description_field in table_A&lt;BR /&gt;&amp;nbsp; &amp;nbsp; for each description_word in&amp;nbsp;description_field&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; insert word in table_B&lt;BR /&gt;&amp;nbsp; &amp;nbsp; next&amp;nbsp;description_word &lt;BR /&gt;next&amp;nbsp;description_field&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421325#M95697</guid>
      <dc:creator>DoctorPolidori</dc:creator>
      <dc:date>2024-02-20T16:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extract words from a free text field containg a description and adding those words one by one to another table</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421333#M95698</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You can use the function SubField, with the space as a delimiter - that will break the text into individual words. Then, you should probably worry about punctuation characters - commas, periods, etc, and remove them using the function PurgeChar().&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421333#M95698</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2024-02-20T16:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extract words from a free text field containing a description and adding those words one by one to another table</title>
      <link>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421337#M95699</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/244410"&gt;@DoctorPolidori&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;SubField is the function you are looking for.&lt;/P&gt;
&lt;P&gt;Here is an example:&lt;/P&gt;
&lt;PRE&gt;// Source Sample data&lt;BR /&gt;Source:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;RecordNo|Description&lt;BR /&gt;1|Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.&lt;BR /&gt;](delimiter is '|');&lt;BR /&gt;&lt;BR /&gt;// Description will be splited by space&lt;BR /&gt;WordsWithCommmaTable:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp; RecordNo,&lt;BR /&gt;&amp;nbsp; Subfield(Description,' ') AS WordWithComma&lt;BR /&gt;RESIDENT&lt;BR /&gt;&lt;SPAN&gt; Source&lt;/SPAN&gt;&lt;BR /&gt;;&lt;/PRE&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6152"&gt;@Oleg_Troyansky&lt;/a&gt;&amp;nbsp;suggested you can do further clean-up using PurgeChar or other funcionts to remove unwanted characteres.&lt;/P&gt;
&lt;P&gt;This is how the table WordsWithCommaTable looks like:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mark_costa_0-1708446441134.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160290i61D1FA12A81F4009/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mark_costa_0-1708446441134.png" alt="mark_costa_0-1708446441134.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 16:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Extract-words-from-a-free-text-field-containing-a-description/m-p/2421337#M95699</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2024-02-20T16:27:35Z</dc:date>
    </item>
  </channel>
</rss>

