<?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: Find and Replace Multiple Characters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875185#M658169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Map:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapping load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from, to&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B,2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MyTable:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load field, MapSubString('Map', field) as newfield inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11111A&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11111B&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11111C&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ABC&lt;BR /&gt;&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, 17 May 2015 18:50:10 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-05-17T18:50:10Z</dc:date>
    <item>
      <title>Find and Replace Multiple Characters</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875182#M658164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field where I want to find and replace a multiple letters within the data of a field.&amp;nbsp; See example below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;11111A&lt;/P&gt;&lt;P&gt;11111B&lt;/P&gt;&lt;P&gt;11111C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to replace A, B and C.&amp;nbsp; A should be replaced with 1, B with 2 and C with 3 when present.&amp;nbsp; I know if I just had one character, I could just use the REPLACE function.&amp;nbsp; But in this case I have multiple different characters that could be found within the field.&amp;nbsp; How do I go about search and replacing multiple characters with the data of a field. Hopefully, that makes sense. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advanced for your assistance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 17:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875182#M658164</guid>
      <dc:creator />
      <dc:date>2015-05-17T17:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace Multiple Characters</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875183#M658165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you nest the Replace() 's :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;=replace ( replace ( replace ( '11111A' ,'A' ,'1' ) , 'B' , 2 ) , 'C' , '3' )&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;=replace ( replace ( replace ( '11111B' ,'A' ,'1' ) , 'B' , 2 ) , 'C' , '3' )&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;=replace ( replace ( replace ( '11111C' ,'A' ,'1' ) , 'B' , 2 ) , 'C' , '3' )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 17:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875183#M658165</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-17T17:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace Multiple Characters</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875184#M658167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you could use mapsubstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 May 2015 18:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875184#M658167</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-05-17T18:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Find and Replace Multiple Characters</title>
      <link>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875185#M658169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Map:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;mapping load * inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;from, to&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;A,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;B,2&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;C,3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;MyTable:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load field, MapSubString('Map', field) as newfield inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;field&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11111A&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11111B&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;11111C&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ABC&lt;BR /&gt;&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, 17 May 2015 18:50:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Find-and-Replace-Multiple-Characters/m-p/875185#M658169</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-17T18:50:10Z</dc:date>
    </item>
  </channel>
</rss>

