<?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 Replace delimiter from csv file. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762613#M271140</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;I want to replace a delimiter ('|') from a particular cell from csv file through qlikview.&lt;/P&gt;&lt;P&gt;How is that possible ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Id|Name|City&lt;/P&gt;&lt;P&gt;1|Abc|Banglore&lt;/P&gt;&lt;P&gt;2|C|de|Chennai&lt;/P&gt;&lt;P&gt;3|Fgh|Delhi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Id '2', Name should be 'Cde' and City as 'Chennai' . But Qv will take Name as 'C' and City as 'de'.&lt;/P&gt;&lt;P&gt;How to solve this issue through Qlikview.?? without changing Source file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Mar 2015 12:48:10 GMT</pubDate>
    <dc:creator>timanshu</dc:creator>
    <dc:date>2015-03-08T12:48:10Z</dc:date>
    <item>
      <title>Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762613#M271140</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;I want to replace a delimiter ('|') from a particular cell from csv file through qlikview.&lt;/P&gt;&lt;P&gt;How is that possible ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Id|Name|City&lt;/P&gt;&lt;P&gt;1|Abc|Banglore&lt;/P&gt;&lt;P&gt;2|C|de|Chennai&lt;/P&gt;&lt;P&gt;3|Fgh|Delhi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Id '2', Name should be 'Cde' and City as 'Chennai' . But Qv will take Name as 'C' and City as 'de'.&lt;/P&gt;&lt;P&gt;How to solve this issue through Qlikview.?? without changing Source file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 12:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762613#M271140</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-03-08T12:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762614#M271141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; subfield(@1, '|', 1) as Id,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(subfield(@1, '|', 1)=2, subfield(@1, '|', 2) &amp;amp; subfield(@1, '|', 3), subfield(@1, '|', 2)) as Name,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(subfield(@1, '|', 1)=2, subfield(@1, '|', 4), subfield(@1, '|', 3)) as City&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM yourfile.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where IsNum(subfield(@1, '|', 1)) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 13:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762614#M271141</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-08T13:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762615#M271142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;Id&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;( &lt;STRONG style=": ; color: #993366;"&gt;@4&lt;/STRONG&gt;&amp;lt;&amp;gt;'', &lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;Name &amp;amp; City , Name&lt;/STRONG&gt;&lt;/SPAN&gt;) &lt;STRONG style=": ; color: #0000ff;"&gt;AS&lt;/STRONG&gt; &lt;STRONG style="color: #993366;"&gt;Name&lt;/STRONG&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;If&lt;/STRONG&gt;&lt;/SPAN&gt;( &lt;STRONG style="color: #993366;"&gt;@4&lt;/STRONG&gt;&amp;lt;&amp;gt;'', &lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;@4&lt;/STRONG&gt;&lt;/SPAN&gt; , &lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;City&lt;/STRONG&gt;&lt;/SPAN&gt; ) &lt;STRONG style="color: #0000ff;"&gt;AS&lt;/STRONG&gt; &lt;STRONG style="color: #993366;"&gt;City&lt;/STRONG&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;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; &lt;STRONG&gt;*&lt;/STRONG&gt; &lt;STRONG style="color: #0000ff;"&gt;INLINE&lt;/STRONG&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #993366; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;Id|Name|City|&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #993366;"&gt;&lt;STRONG&gt;@4&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #993366; font-family: 'courier new', courier;"&gt;1|Abc|Banglore&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #993366; font-family: 'courier new', courier;"&gt;2|C|de|Chennai&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="color: #993366; font-family: 'courier new', courier;"&gt;3|Fgh|Delhi&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #993366; font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;delimiter is&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;'|')&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice that you will have to append the @4 as an extra embedded label on line 7. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 14:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762615#M271142</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-08T14:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762616#M271143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp; @1 AS Id, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(@4='',@2,@2&amp;amp;@3) &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt; Name, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(@4='',@3,@4) &lt;SPAN style="color: #0000ff;"&gt;AS&lt;/SPAN&gt; City &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&lt;SPAN style="color: #0000ff;"&gt;LOAD&lt;/SPAN&gt; @1, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @2, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @3, &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @4&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-family: 'courier new', courier;"&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;[FixVariableDelims.txt]&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;(txt, codepage is 1252, no labels, delimiter is '|', msq, header is 1 lines); &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a better version than the previous one I submitted - because that had INLINE with an appended header column which will not work for an external file. This does however.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 14:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762616#M271143</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-08T14:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762617#M271144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Flawed solution ... actually - if you want to not load from inline ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 14:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762617#M271144</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-08T14:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762618#M271145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;Thanx for reply.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;When we defined the delimiter then &lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; subfield(@1, '|', 2)&lt;/STRONG&gt; &lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;will give null as delimiter ('|') is not present in @1 field , since it separated fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Even we could have find solution by concatenating next field value into current one to get the result but that would be very complex as in actual I have more than 20 fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 16:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762618#M271145</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-03-08T16:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762619#M271146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I was actually looking for some solution that does not require to write so much of if statement for as I have more than 20 fields in actual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 16:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762619#M271146</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-03-08T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762620#M271147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - then help us understand your real requirements then by specifying if there is a consistent logic in how the different fields interrelate...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 16:16:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762620#M271147</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-08T16:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762621#M271148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you upload a sample of your CSV-file it would be so much easier for us to help you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 16:27:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762621#M271148</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-03-08T16:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762622#M271149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to first load the data without | delimiter (as in my answer) and then, with some logic, calculate the fields or replace some of the | with null. If you can, post some rows of your real data and someone will try to give a better answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 16:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762622#M271149</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-08T16:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762623#M271150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Massimo,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I cant upload data. It's confidential. You can just think of the same scenario as in my example plus consider there are more fields in the data source. And one field in a row&amp;nbsp; contains delimiter between the field value as text. rest columns contain correct data. So data shifts to next field and so on.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 17:41:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762623#M271150</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-03-08T17:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762624#M271151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you could give solution with one of your idea as you said uploading data as plain text, it would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 17:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762624#M271151</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-03-08T17:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Replace delimiter from csv file.</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762625#M271152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; subfield(Row, '|', 1) as Id,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; subfield(Row, '|', 2) as Name,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; subfield(Row, '|', 3) as City&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; ;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// load all '|' separated fields in one field (Row)&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// when there is 3 '|', drop the second '|' so all rows have the same number of '|', 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// I think you only have row of n or n+1 '|'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;// and the '|' to remove is always in the same position&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; if(Index(@1, '|', 3)&amp;gt;0, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; left(@1, Index(@1, '|', 2)-1) &amp;amp; Right(@1, len(@1) - Index(@1, '|', 2)),&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; @1) as Row&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM a.txt&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(txt, codepage is 1252, no labels, delimiter is '\t', msq)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Where IsNum(subfield(@1, '|', 1)) &lt;/EM&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Mar 2015 18:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-delimiter-from-csv-file/m-p/762625#M271152</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-08T18:01:49Z</dc:date>
    </item>
  </channel>
</rss>

