<?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 Search string based on a character and remove or scramble in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33509#M608047</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my dashboard i'm loading a field that can contain email addresses, i would like to remove or scramble these email addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:info@test.nl"&gt;info@test.nl&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;New York&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Belgium&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Honda&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Qlikview&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;NULL or wlegh#)*%_&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;New York&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Belgium&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Honda&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Qlikview&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, in my script i think i first need to search on values in my Field that can contain an @, and after that remove it, or scramble it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to do this? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Feb 2018 10:41:21 GMT</pubDate>
    <dc:creator>twanqlik</dc:creator>
    <dc:date>2018-02-01T10:41:21Z</dc:date>
    <item>
      <title>Search string based on a character and remove or scramble</title>
      <link>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33509#M608047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my dashboard i'm loading a field that can contain email addresses, i would like to remove or scramble these email addresses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;A class="jive-link-email-small" href="mailto:info@test.nl"&gt;info@test.nl&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;New York&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Belgium&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Honda&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Qlikview&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Desired output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Field&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;NULL or wlegh#)*%_&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;New York&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Belgium&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Honda&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Qlikview&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, in my script i think i first need to search on values in my Field that can contain an @, and after that remove it, or scramble it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on how to do this? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 10:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33509#M608047</guid>
      <dc:creator>twanqlik</dc:creator>
      <dc:date>2018-02-01T10:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Search string based on a character and remove or scramble</title>
      <link>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33510#M608048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the following script:&lt;BR /&gt;load if(wildmatch(field,'*@*'),autonumber(field),field) as field&lt;/P&gt;&lt;P&gt;autonumber converts the string value to a number&lt;/P&gt;&lt;P&gt;you can use other functions like Hash128 and other&lt;/P&gt;&lt;P&gt;check help for more details&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 10:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33510#M608048</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-02-01T10:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: Search string based on a character and remove or scramble</title>
      <link>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33511#M608049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it should be more like this (you missed an asterisk at the end of the string)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(WildMatch(field, '*@&lt;SPAN style="color: #ff0000; font-size: 18pt;"&gt;*&lt;/SPAN&gt;'), AutoNumber(field), field) as field&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can make it more precise by adding the .* also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(WildMatch(field, '*@*.*'), AutoNumber(field), field) as field&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 13:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33511#M608049</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-02-01T13:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search string based on a character and remove or scramble</title>
      <link>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33512#M608050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;fixed&lt;/P&gt;&lt;P&gt;thanks for the attention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Feb 2018 13:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Search-string-based-on-a-character-and-remove-or-scramble/m-p/33512#M608050</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-02-01T13:22:31Z</dc:date>
    </item>
  </channel>
</rss>

