<?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: Replace only the strict string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934575#M1219113</link>
    <description>&lt;P&gt;The JavaScript String replace() method returns a new string with a substring ( substr ) replaced by a new one ( newSubstr ). Note that the replace() method doesn't change the original string. It returns a new string.&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 06:19:14 GMT</pubDate>
    <dc:creator>James5654</dc:creator>
    <dc:date>2022-05-24T06:19:14Z</dc:date>
    <item>
      <title>Replace only the strict string</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934568#M1219112</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I am using Replace() in load script to replace certain substrings. However, I am facing the following difficulty.&lt;/P&gt;
&lt;P&gt;Field values: 'PRE1','PRE2','PRE3','PRE4','PRE5','PRE6','PRE7','PRE8','PRE9','PRE10','PRE11','PRE12','PRE13','PRE14','PRE15'&lt;/P&gt;
&lt;P&gt;I need the following replacements:&lt;/P&gt;
&lt;P&gt;PRE1 --&amp;gt; PRE01&lt;/P&gt;
&lt;P&gt;PRE2 --&amp;gt; PRE02..... and so on until PRE9 --&amp;gt; PRE09.&lt;/P&gt;
&lt;P&gt;If I use replace function, the strings PRE10 and PRE20 are converted into PRE010 and PRE020.&lt;/P&gt;
&lt;P&gt;Can you please help in this so that only the exact value are getting replaced and not substring?&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934568#M1219112</guid>
      <dc:creator>nigharikkha</dc:creator>
      <dc:date>2022-05-24T06:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only the strict string</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934575#M1219113</link>
      <description>&lt;P&gt;The JavaScript String replace() method returns a new string with a substring ( substr ) replaced by a new one ( newSubstr ). Note that the replace() method doesn't change the original string. It returns a new string.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:19:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934575#M1219113</guid>
      <dc:creator>James5654</dc:creator>
      <dc:date>2022-05-24T06:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only the strict string</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934578#M1219114</link>
      <description>&lt;P&gt;You may use something like this:&lt;/P&gt;
&lt;P&gt;purgechar(Field, '0123456789') &amp;amp; num(keepchar(Field, '0123456789'), '00') as Field&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934578#M1219114</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-05-24T06:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Replace only the strict string</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934583#M1219115</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;. That is an intelligent way to handle. It works perfectly!!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-only-the-strict-string/m-p/1934583#M1219115</guid>
      <dc:creator>nigharikkha</dc:creator>
      <dc:date>2022-05-24T06:40:32Z</dc:date>
    </item>
  </channel>
</rss>

