<?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: Set multiline variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141668#M893983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this variable to contain the columns to be loaded from an excel. If I use chr(10) then it cause some weird behaviour in my table, first rows inserted contains the header columns, so I solve it by replacing chr(10) and chr(13) from the string variable as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LET varList = REPLACE(REPLACE(varList,CHAR(10),''),CHAR(13),''))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Aug 2016 17:01:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-06T17:01:46Z</dc:date>
    <item>
      <title>Set multiline variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141664#M893979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a variable splitted as multiline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET varList =&amp;nbsp; "One", "Two", "Three",&lt;/P&gt;&lt;P&gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Four", "Five", "Six";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it the best way to do it?&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/Set-multiline-variable/m-p/1141664#M893979</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set multiline variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141665#M893980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any reason you want this to split into multiple lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above works fine, but if you place this variable in text box it wont be centered perfectly. or you can try below to center perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let varList =&amp;nbsp; '"One", "Two", "Three",'&amp;amp;chr(10)&amp;amp;'"Four", "Five", "Six"';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 22:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141665#M893980</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2016-08-05T22:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set multiline variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141666#M893981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to split into multiple lines because the line is too long.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2016 22:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141666#M893981</guid>
      <dc:creator />
      <dc:date>2016-08-05T22:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set multiline variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141667#M893982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Both expressions will work. you can use your SET or LET statement that i have provided. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2016 08:30:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141667#M893982</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2016-08-06T08:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set multiline variable</title>
      <link>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141668#M893983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use this variable to contain the columns to be loaded from an excel. If I use chr(10) then it cause some weird behaviour in my table, first rows inserted contains the header columns, so I solve it by replacing chr(10) and chr(13) from the string variable as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LET varList = REPLACE(REPLACE(varList,CHAR(10),''),CHAR(13),''))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2016 17:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-multiline-variable/m-p/1141668#M893983</guid>
      <dc:creator />
      <dc:date>2016-08-06T17:01:46Z</dc:date>
    </item>
  </channel>
</rss>

