<?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 Split Text in a field without seperating words in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610214#M597110</link>
    <description>&lt;P&gt;Hello Qlikview-Community,&lt;/P&gt;&lt;P&gt;i am looking for a solution to the following problem:&lt;/P&gt;&lt;P&gt;Ich have a text field = Name in a table with up to 80 chars long.&lt;/P&gt;&lt;P&gt;I want to seperate it into two textfields Name1 and Name2, but without sperating words.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Namefield=This is a text which is much much much longer than 40 chars, but not longer than 80&lt;/P&gt;&lt;P&gt;LEFT(Namefield,40) AS&amp;nbsp;Namefield1 =&amp;nbsp;This is a text which is much much much l&lt;/P&gt;&lt;P&gt;RIGHT(Namefield,40) AS&amp;nbsp;Namefield2 =&amp;nbsp;onger than 40 chars, but not longer than 80&lt;/P&gt;&lt;P&gt;Is there a away to avoid seperating single words dynamically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:18:29 GMT</pubDate>
    <dc:creator>hbuchetmann</dc:creator>
    <dc:date>2024-11-16T20:18:29Z</dc:date>
    <item>
      <title>Split Text in a field without seperating words</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610214#M597110</link>
      <description>&lt;P&gt;Hello Qlikview-Community,&lt;/P&gt;&lt;P&gt;i am looking for a solution to the following problem:&lt;/P&gt;&lt;P&gt;Ich have a text field = Name in a table with up to 80 chars long.&lt;/P&gt;&lt;P&gt;I want to seperate it into two textfields Name1 and Name2, but without sperating words.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Namefield=This is a text which is much much much longer than 40 chars, but not longer than 80&lt;/P&gt;&lt;P&gt;LEFT(Namefield,40) AS&amp;nbsp;Namefield1 =&amp;nbsp;This is a text which is much much much l&lt;/P&gt;&lt;P&gt;RIGHT(Namefield,40) AS&amp;nbsp;Namefield2 =&amp;nbsp;onger than 40 chars, but not longer than 80&lt;/P&gt;&lt;P&gt;Is there a away to avoid seperating single words dynamically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610214#M597110</guid>
      <dc:creator>hbuchetmann</dc:creator>
      <dc:date>2024-11-16T20:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Split Text in a field without seperating words</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610222#M597111</link>
      <description>&lt;P&gt;In this case, where would you want the longer to show up? First Half or Second half and why?? or does it not matter?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 11:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610222#M597111</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-07T11:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Split Text in a field without seperating words</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610226#M597112</link>
      <description>&lt;P&gt;The length of Namefield1 should not exceed 40 chars, so the longer should go completly to Namefield2&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 11:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610226#M597112</guid>
      <dc:creator>hbuchetmann</dc:creator>
      <dc:date>2019-08-07T11:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Split Text in a field without seperating words</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610376#M597113</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Table:
LOAD *,
	 Index(Left(Namefield, 40), ' ', -1) as SpacePos,
	 Left(Namefield, Index(Left(Namefield, 40), ' ', -1)) as Namefield1,
	 Right(Namefield, Len(Namefield) - Index(Left(Namefield, 40), ' ', -1)) as Namefield2;
LOAD * INLINE [
    Namefield
    "This is a text which is much much much longer than 40 chars, but not longer than 80"
    "This is a text which is much much longer than 40 chars, but not longer than 80"
    "This is a text which is much longer than 40 chars, but not longer than 80"
];&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 07 Aug 2019 18:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610376#M597113</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-08-07T18:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Split Text in a field without seperating words</title>
      <link>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610382#M597114</link>
      <description>&lt;P&gt;Thank you very much Sunny_talwar,&lt;/P&gt;&lt;P&gt;i just tired it out and it works like a charm!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes,&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 18:43:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-Text-in-a-field-without-seperating-words/m-p/1610382#M597114</guid>
      <dc:creator>hbuchetmann</dc:creator>
      <dc:date>2019-08-07T18:43:11Z</dc:date>
    </item>
  </channel>
</rss>

