<?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: How to remove characters in between a string. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223478#M390902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eveyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried something like this and it worked out very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Where Not( IsNum(Department)) and Ord(Department) &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(PurgeChar(SubField(Department,'-'),'()'),' ') as Department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeshwanth B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 06:46:02 GMT</pubDate>
    <dc:creator>Jesh19</dc:creator>
    <dc:date>2017-03-03T06:46:02Z</dc:date>
    <item>
      <title>How to remove characters in between a string.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223473#M390897</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 am having a requirement where i need to cleanse my data.&lt;/P&gt;&lt;P&gt;I know the usage of purgechar and i have tried it, but of no use.&lt;/P&gt;&lt;P&gt;Could you please suggest any other possible alternative for the below mentioned requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a department field with values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Department&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;&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; Expected Outcome&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9989504213 - A2B&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;&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; A2B&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Other (123456789)&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;&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; Other&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please do the needful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeshwanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 05:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223473#M390897</guid>
      <dc:creator>Jesh19</dc:creator>
      <dc:date>2017-03-03T05:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove characters in between a string.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223474#M390898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this&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;trim(subfield(subfield(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;9989504213 - A2B&amp;nbsp; &lt;/STRONG&gt;, '-', 2),'(', 2))&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: 13px;"&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: 13px;"&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: 13px;"&gt;Regards,&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: 13px;"&gt;Joshua.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 05:44:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223474#M390898</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2017-03-03T05:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove characters in between a string.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223475#M390899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jeshwanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have few queries;&lt;/P&gt;&lt;P&gt;1. Field Department consists of two parts. In given examples, &lt;STRONG&gt;'-'&lt;/STRONG&gt; and &lt;STRONG&gt;' '&lt;/STRONG&gt; are used as separators. What all other separators available under Department field?&lt;/P&gt;&lt;P&gt;2. You are willing to remove numbers - plain or surrounded by round brackets. &lt;SPAN style="font-size: 13.3333px;"&gt;What is the position of such numbers (First part of string or Second part)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;3. Numbers part of string will be kept intact. Is it correct? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answers to these questions will help us to provide you expected feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 05:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223475#M390899</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-03-03T05:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove characters in between a string.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223476#M390900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure, Can you send real data i mean atleast 10 values from Department&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If less than expected values you can go with below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Department,If(Index(Department,'A2B'),'A2B',If(Index(Department,'Other'),'Other')) as Department1 Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Department&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9989504213 - A2B &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Other (123456789) &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 06:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223476#M390900</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-03T06:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove characters in between a string.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223477#M390901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We need a pattern or position to Identify the words, other wise it would difficult to handle this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;...Ask you data team have it in proper format so that we could split the values&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 06:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223477#M390901</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-03-03T06:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove characters in between a string.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223478#M390902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eveyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried something like this and it worked out very well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * Where Not( IsNum(Department)) and Ord(Department) &amp;lt;&amp;gt; 0;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubField(PurgeChar(SubField(Department,'-'),'()'),' ') as Department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeshwanth B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 06:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-remove-characters-in-between-a-string/m-p/1223478#M390902</guid>
      <dc:creator>Jesh19</dc:creator>
      <dc:date>2017-03-03T06:46:02Z</dc:date>
    </item>
  </channel>
</rss>

