<?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: split text from field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398445#M513747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;much greater &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 16:04:21 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2017-11-15T16:04:21Z</dc:date>
    <item>
      <title>split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398439#M513741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field that contains random text and I want to split the text into single words.&lt;/P&gt;&lt;P&gt;The text can be separated by spaces, commas, periods, etc.&lt;/P&gt;&lt;P&gt;I tried using SubField with a space separator but I only split the first word.&lt;/P&gt;&lt;P&gt;In addition, I was unable to separate more than one type of separator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have the following sentence:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;how are-you.doing today&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result I would like to have is:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;how &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;are&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;doing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 18pt;"&gt;today&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398439#M513741</guid>
      <dc:creator>amiroh81</dc:creator>
      <dc:date>2017-11-15T15:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398440#M513742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;test:&lt;/P&gt;&lt;P&gt;LOAD *, &lt;/P&gt;&lt;P&gt;subfield(Replace(Replace(name,'-', ' '),'.',' '),' ',1) as String1, &lt;/P&gt;&lt;P&gt;subfield(Replace(Replace(name,'-', ' '),'.',' '),' ',2) as String2, &lt;/P&gt;&lt;P&gt;subfield(Replace(Replace(name,'-', ' '),'.',' '),' ',3) as String3, &lt;/P&gt;&lt;P&gt;subfield(Replace(Replace(name,'-', ' '),'.',' '),' ',4) as String4 &lt;/P&gt;&lt;P&gt;Inline [&lt;/P&gt;&lt;P&gt;name&lt;/P&gt;&lt;P&gt;how are-you.doing today&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398440#M513742</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-11-15T15:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398441#M513743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this using Mapping load. You can add any special characters in the mapping table named Table1 as you go. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Mapping LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Text, String&lt;/P&gt;&lt;P&gt;' ', @&lt;/P&gt;&lt;P&gt;-, @&lt;/P&gt;&lt;P&gt;., @&lt;/P&gt;&lt;P&gt;',', @&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *, Subfield(replaceString, '@') AS NewField;&lt;/P&gt;&lt;P&gt;LOAD *, MapSubString('Table1', Text) AS replaceString INLINE [&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;how are-you.doing today&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:41:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398441#M513743</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-11-15T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398442#M513744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:49:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398442#M513744</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-11-15T15:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398443#M513745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Field&lt;/SPAN&gt;,' '),'.'),'-') &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;Field &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183400_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398443#M513745</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-11-15T15:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398444#M513746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CharMap:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Mapping LOAD *, ' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;char&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;] (delimiter is '\t');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SubField(MapSubString('CharMap', Input), ' ') as Word&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Input&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;how are-you.doing today&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398444#M513746</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-15T15:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398445#M513747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;much greater &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398445#M513747</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2017-11-15T16:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398446#M513748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Viswarath's solution is the best of the lot. It will work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 16:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398446#M513748</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2017-11-15T16:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398447#M513749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;Is there a way to make the separation in the model itself and not in the script?&lt;/P&gt;&lt;P&gt;where&amp;nbsp; can i read about mapping load?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398447#M513749</guid>
      <dc:creator>amiroh81</dc:creator>
      <dc:date>2017-11-15T18:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398448#M513750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/Mapping.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/Mapping.htm"&gt;http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/Mapping.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398448#M513750</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-15T18:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398449#M513751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what about split a field on the model itself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398449#M513751</guid>
      <dc:creator>amiroh81</dc:creator>
      <dc:date>2017-11-15T18:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398450#M513752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you want to do with the split words? Show them in a textbox? or a listbox?&amp;nbsp; Is it only one selection you want to process or all of them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 18:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398450#M513752</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-15T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398451#M513753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end I want to count the amount of words that appear in the sentence and how many times each word appeared.&lt;/P&gt;&lt;P&gt;It is important for me to do this in the model, because the counting should be done after the user performs several filters in the model&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 19:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398451#M513753</guid>
      <dc:creator>amiroh81</dc:creator>
      <dc:date>2017-11-15T19:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398452#M513754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can break out the words in the script and leave them linked to the sentences. Then the words will reflect selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;CharMap:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Mapping LOAD *, ' '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;char&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;] (delimiter is '\t');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sentences:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD *, RecNo() as RecId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Inline [&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sentence&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;how are-you.doing today&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;I am fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Words:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RecId,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SubField(MapSubString('CharMap', Sentence), ' ') as Word&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident Sentences;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 20:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398452#M513754</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-15T20:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398453#M513755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another method to define non-letter characters for the word separation might be (&lt;SPAN style="font-size: 13.3333px;"&gt;included in the already proposed SubField/MapSubString solution&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_281822_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183614_QlikCommunity_Thread_281822_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15108701756563698" jivemacro_uid="_15108701756563698"&gt;
&lt;P&gt;mapNonLetterToSpace:&lt;/P&gt;
&lt;P&gt;Mapping&lt;/P&gt;
&lt;P&gt;LOAD Chr(RecNo()), ' '&lt;/P&gt;
&lt;P&gt;AutoGenerate 65535&lt;/P&gt;
&lt;P&gt;Where Upper(Chr(RecNo()))=Lower(Chr(RecNo()));&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabTextLines:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as ID, *&lt;/P&gt;
&lt;P&gt;Inline '&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextLine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SubField - script and chart function"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Subfield() is used to extract substring components from a parent string field, where the original record fields consist of two or more parts separated by a delimiter."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "The Subfield() function can be used, for example, to extract first name and surname from a list of records consisting of full names, the component parts of a path name, or for extracting data from comma-separated tables."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "If you use the Subfield() function in a LOAD statement with the optional field_no parameter left out, one full record will be generated for each substring. If several fields are loaded using Subfield() the Cartesian products of all combinations are created."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Syntax:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SubField(text, delimiter[, field_no ])"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Return data type: string"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Arguments:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Argument Description"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "text The original string. This can be a hard-coded text, a variable, a dollar-sign expansion, or another expression."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "delimiter A character within the input text that divides the string into component parts."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "field_no The optional third argument is an integer that specifies which of the substrings of the parent string text is to be returned. A negative value causes the substring to be extracted from the right-hand side of the string. That is, the string search is from right to left, instead of left to right, if field_no is a positive value."&lt;/P&gt;
&lt;P&gt;';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabWords:&lt;/P&gt;
&lt;P&gt;LOAD Distinct * Where Len(Word);&lt;/P&gt;
&lt;P&gt;LOAD ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MapSubString('mapNonLetterToSpace',TextLine),' ') as Word&lt;/P&gt;
&lt;P&gt;Resident tabTextLines;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 22:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398453#M513755</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-11-16T22:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398454#M513756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one example of calculating &lt;SPAN style="font-size: 13.3333px;"&gt;word frequencies and &lt;/SPAN&gt;counting words per text line in the front end might be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="183720" alt="QlikCommunity_Thread_281822_Pic2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183720_QlikCommunity_Thread_281822_Pic2.JPG" style="height: 83px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="183721" alt="QlikCommunity_Thread_281822_Pic3.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/183721_QlikCommunity_Thread_281822_Pic3.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="183728" alt="QlikCommunity_Thread_281822_Pic4.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/183728_QlikCommunity_Thread_281822_Pic4.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="183729" alt="QlikCommunity_Thread_281822_Pic5.JPG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/183729_QlikCommunity_Thread_281822_Pic5.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_281822_Pic6.JPG" class="image-5 jive-image" src="https://community.qlik.com/legacyfs/online/183731_QlikCommunity_Thread_281822_Pic6.JPG" style="height: 225px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15109620971296477 jive_text_macro" jivemacro_uid="_15109620971296477"&gt;
&lt;P&gt;mapNonLetterToSpace:&lt;/P&gt;
&lt;P&gt;Mapping&lt;/P&gt;
&lt;P&gt;LOAD Chr(RecNo()), ' '&lt;/P&gt;
&lt;P&gt;AutoGenerate 65535&lt;/P&gt;
&lt;P&gt;Where Upper(Chr(RecNo()))=Lower(Chr(RecNo()));&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabTextLines:&lt;/P&gt;
&lt;P&gt;LOAD RecNo() as LineID, *&lt;/P&gt;
&lt;P&gt;Inline '&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextLine&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SubField - script and chart function"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Subfield() is used to extract substring components from a parent string field, where the original record fields consist of two or more parts separated by a delimiter."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "The Subfield() function can be used, for example, to extract first name and surname from a list of records consisting of full names, the component parts of a path name, or for extracting data from comma-separated tables."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "If you use the Subfield() function in a LOAD statement with the optional field_no parameter left out, one full record will be generated for each substring. If several fields are loaded using Subfield() the Cartesian products of all combinations are created."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Syntax:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "SubField(text, delimiter[, field_no ])"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Return data type: string"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Arguments:"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Argument Description"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "text The original string. This can be a hard-coded text, a variable, a dollar-sign expansion, or another expression."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "delimiter A character within the input text that divides the string into component parts."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "field_no The optional third argument is an integer that specifies which of the substrings of the parent string text is to be returned. A negative value causes the substring to be extracted from the right-hand side of the string. That is, the string search is from right to left, instead of left to right, if field_no is a positive value."&lt;/P&gt;
&lt;P&gt;';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabWords:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LineID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Word,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(IterNo,'WordNo'&amp;amp;LineID) as WordNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoNumber(Hash128(LineID,IterNo),'WordID') as WordID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upper(Word) as WORD&lt;/P&gt;
&lt;P&gt;Where Len(Word);&lt;/P&gt;
&lt;P&gt;LOAD LineID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IterNo() as IterNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(MapLine,' ',IterNo()) as Word&lt;/P&gt;
&lt;P&gt;While IterNo()&amp;lt;=SubStringCount(MapLine,' ')+1;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;LOAD LineID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MapSubString('mapNonLetterToSpace',TextLine) as MapLine&lt;/P&gt;
&lt;P&gt;Resident tabTextLines;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 23:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398454#M513756</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-11-17T23:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: split text from field</title>
      <link>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398455#M513757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 12:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/split-text-from-field/m-p/1398455#M513757</guid>
      <dc:creator>amiroh81</dc:creator>
      <dc:date>2017-11-30T12:42:26Z</dc:date>
    </item>
  </channel>
</rss>

