<?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 values in a variable length field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Replace-values-in-a-variable-length-field/m-p/1648845#M730664</link>
    <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a variable length field, lets call it AcNum, I want to ONLY keep the first 4 characters of the string and replace the rest with '*'&lt;/P&gt;&lt;P&gt;So...&lt;/P&gt;&lt;P&gt;abcd789 would become abcd*** and&lt;/P&gt;&lt;P&gt;asdfghjk will become asdf****&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:38:10 GMT</pubDate>
    <dc:creator>QFanatic</dc:creator>
    <dc:date>2024-11-16T19:38:10Z</dc:date>
    <item>
      <title>Replace values in a variable length field</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-values-in-a-variable-length-field/m-p/1648845#M730664</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a variable length field, lets call it AcNum, I want to ONLY keep the first 4 characters of the string and replace the rest with '*'&lt;/P&gt;&lt;P&gt;So...&lt;/P&gt;&lt;P&gt;abcd789 would become abcd*** and&lt;/P&gt;&lt;P&gt;asdfghjk will become asdf****&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-values-in-a-variable-length-field/m-p/1648845#M730664</guid>
      <dc:creator>QFanatic</dc:creator>
      <dc:date>2024-11-16T19:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Replace values in a variable length field</title>
      <link>https://community.qlik.com/t5/QlikView/Replace-values-in-a-variable-length-field/m-p/1648875#M730665</link>
      <description>&lt;P&gt;What about formula:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Left('abcdefgh', 4) &amp;amp; Repeat('*', Len('abcdefgh') - 4)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The result is as following:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 149px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/24018i94DBF0E1B051779A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 07:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Replace-values-in-a-variable-length-field/m-p/1648875#M730665</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2019-11-20T07:35:27Z</dc:date>
    </item>
  </channel>
</rss>

