<?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: remove space  while concatenating more than 2 fields... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190221#M883693</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;Simply use Replace() to convert two spaces to single space like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;[ Title] &amp;amp; ' ' &amp;amp; Initials &amp;amp; ' ' &amp;amp; [ Name] &lt;/STRONG&gt;, '&amp;nbsp; ', '')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Replace(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;[ Title] &amp;amp; ' ' &amp;amp; Initials &amp;amp; ' ' &amp;amp; [ Name] &lt;/STRONG&gt;, 'Give double space here', 'Single space')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 06:19:12 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2016-09-22T06:19:12Z</dc:date>
    <item>
      <title>remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190218#M883690</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;&lt;SPAN style="font-size: 10pt;"&gt;TRIM([ Title]) &amp;amp; ' ' &amp;amp; TRIM(Initials) &amp;amp; ' ' &amp;amp;TRIM([ Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per above concatenation we are facing space issue while 1 of the field is missing like Title or Initials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIke examle :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex D voyger&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------this is right out come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if some one who don;t have either title or initial than coming doule space instead of single spcae.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like ::::Without title&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; '&amp;nbsp; D cow'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like :: without intital&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Mr&amp;nbsp; Tad"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; double space between title and name ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190218#M883690</guid>
      <dc:creator>singhcv123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190219#M883691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Use something like this - &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;TRIM([ Title]) &amp;amp; if(len(Title)&amp;gt;0,' ') &amp;amp; TRIM(Initials) &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;if(len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Initials&lt;/SPAN&gt;)&amp;gt;0,' ')&lt;/SPAN&gt;&amp;amp;TRIM([ Name])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 05:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190219#M883691</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2016-09-22T05:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190220#M883692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Virendra ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Simply try,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Replace( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;[ Title] &amp;amp; ' ' &amp;amp; Initials &amp;amp; ' ' &amp;amp; [ Name] &lt;/STRONG&gt;&lt;/SPAN&gt;, '&amp;nbsp; ' , ' ' )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 05:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190220#M883692</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-09-22T05:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190221#M883693</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;Simply use Replace() to convert two spaces to single space like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;[ Title] &amp;amp; ' ' &amp;amp; Initials &amp;amp; ' ' &amp;amp; [ Name] &lt;/STRONG&gt;, '&amp;nbsp; ', '')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Replace(&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px;"&gt;[ Title] &amp;amp; ' ' &amp;amp; Initials &amp;amp; ' ' &amp;amp; [ Name] &lt;/STRONG&gt;, 'Give double space here', 'Single space')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;jagan.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 06:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190221#M883693</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-09-22T06:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190222#M883694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace(filed1&amp;amp;&lt;SPAN style="font-size: 13.3333px;"&gt;filed2&amp;amp;&lt;SPAN style="font-size: 13.3333px;"&gt;filed3,' ',''&lt;/SPAN&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190222#M883694</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-09-22T07:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190223#M883695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Trim(Replace(TRIM([ Title]) &amp;amp; ' ' &amp;amp; TRIM(Initials) &amp;amp; ' ' &amp;amp;TRIM([ Name]),'&amp;nbsp; ',' '))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You will remove start space and double spaces.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190223#M883695</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-22T07:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: remove space  while concatenating more than 2 fields...</title>
      <link>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190224#M883696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very Nice &lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan&lt;/A&gt;‌ and others. Thanks for sharing this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 09:24:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/remove-space-while-concatenating-more-than-2-fields/m-p/1190224#M883696</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T09:24:42Z</dc:date>
    </item>
  </channel>
</rss>

