<?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 String manipulation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590715#M219122</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 have decoded what a user searches for, from an url adress in a large logfile. The result looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Skjermbilde.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55313_Skjermbilde.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see: space='%20' and the 'ø' char='%C3%B8' and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easier way to do this than replace() for each code I want to replace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Trond Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Mar 2014 22:26:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-18T22:26:03Z</dc:date>
    <item>
      <title>String manipulation</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590715#M219122</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 have decoded what a user searches for, from an url adress in a large logfile. The result looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Skjermbilde.PNG.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/55313_Skjermbilde.PNG.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see: space='%20' and the 'ø' char='%C3%B8' and so forth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an easier way to do this than replace() for each code I want to replace?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Trond Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 22:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590715#M219122</guid>
      <dc:creator />
      <dc:date>2014-03-18T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590716#M219123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the mapping functions,especially the mapsubstring function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN class="Bold"&gt;MapSubstring&lt;/SPAN&gt; function is used to map parts of any expression to a previously loaded mapping table. The mapping is case sensitive and non-iterative and substrings are mapped from left to right. The syntax is:&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor823"&gt;&lt;/A&gt;&lt;A name="mapsubstring"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;mapsubstring(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;'mapname', expr&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;This function can be used for mapping parts of any expression on a previously loaded mapping table. The mapping is case sensitive and non-recursive. The substrings are mapped from the left to the right. &lt;SPAN class="Italic"&gt;Mapname&lt;/SPAN&gt; is the name of a mapping table previously read by a &lt;SPAN class="Bold"&gt;mapping load&lt;/SPAN&gt; or a &lt;SPAN class="Bold"&gt;mapping select&lt;/SPAN&gt; statement (see &lt;A class="MCXref_0"&gt;&lt;EM&gt;Mapping&lt;/EM&gt;&lt;/A&gt;). The name must be enclosed by single straight quotation marks. &lt;SPAN class="Italic"&gt;Expr&lt;/SPAN&gt; is the expression whose result should be mapped by substrings. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;// Assume the following mapping table: &lt;/P&gt;&lt;P class="Code"&gt;map1: &lt;/P&gt;&lt;P class="Code"&gt;mapping load * inline [ &lt;/P&gt;&lt;P class="Code"&gt;x, y &lt;/P&gt;&lt;P class="Code"&gt;1, &amp;lt;one&amp;gt; &lt;/P&gt;&lt;P class="Code"&gt;aa, XYZ &lt;/P&gt;&lt;P class="Code"&gt;x, b ] ; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;MapSubstring ('map1', 'A123')&lt;/SPAN&gt; returns 'A&amp;lt;one&amp;gt;23'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;MapSubstring ('map1', 'baaar')&lt;/SPAN&gt; returns 'bXYZar'&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;MapSubstring ('map1', 'xaa1')&lt;/SPAN&gt; returns 'bXYZ&amp;lt;one&amp;gt;'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 22:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590716#M219123</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-18T22:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590717#M219124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! Just what I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This community never dissapoints &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 22:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590717#M219124</guid>
      <dc:creator />
      <dc:date>2014-03-18T22:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: String manipulation</title>
      <link>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590718#M219125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Trond Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it could be useful to load the whole W3 reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13951866850365547" jivemacro_uid="_13951866850365547"&gt;
&lt;P&gt;URL_Encoding_Reference:&lt;/P&gt;
&lt;P&gt;LOAD &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Text([URL-encoding]) as URL_encoding, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Replace([ASCII Character], 'space', ' ') as ASCII_Character&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3schools.com/tags/ref_urlencode.asp"&gt;http://www.w3schools.com/tags/ref_urlencode.asp&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(html, utf8, embedded labels, table is @1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..store it as QVD and use it as MAPPING LOAD later for MapSubstr().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2014 23:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/String-manipulation/m-p/590718#M219125</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-03-18T23:52:30Z</dc:date>
    </item>
  </channel>
</rss>

