<?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 Split if string contains a specific character in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780227#M590812</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a simple question, find the solution everywhere on the forum... but not working in my case (strange enough). What am i doing wrong?&lt;/P&gt;&lt;P&gt;I have a field with the name "Fumberfield". It contains string with 11 digits.&lt;BR /&gt;Value is 11 numbers with or without a '*' .&lt;/P&gt;&lt;P&gt;For example&amp;nbsp;123456*7890 or 12234567890&lt;/P&gt;&lt;P&gt;If there is a * in the string, i want to seperate it in 2 subfields with a length of 5 en 6 digits.&lt;BR /&gt;So the * is NOT the delimiter (otherwise it would be easier).&lt;/P&gt;&lt;P&gt;Now i load a table with the field and added the following in the script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(WildMatch(Numberfield, '*'), 'FOUND *', ' * NOT FOUND') as NewNumberfield,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If working, i will replace the FOUND by a Left and Right). But it is not working (says it is found even there is no * in the string.&lt;/P&gt;&lt;P&gt;Anyone a idea? Also tried '***' as&amp;nbsp; extra wildcards because it is in de middle of the string.&lt;/P&gt;&lt;P&gt;ps: if i use a digit 5 as test instead of * , it is also not working....&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2021 14:45:43 GMT</pubDate>
    <dc:creator>intervigilium</dc:creator>
    <dc:date>2021-02-04T14:45:43Z</dc:date>
    <item>
      <title>Split if string contains a specific character</title>
      <link>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780227#M590812</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a simple question, find the solution everywhere on the forum... but not working in my case (strange enough). What am i doing wrong?&lt;/P&gt;&lt;P&gt;I have a field with the name "Fumberfield". It contains string with 11 digits.&lt;BR /&gt;Value is 11 numbers with or without a '*' .&lt;/P&gt;&lt;P&gt;For example&amp;nbsp;123456*7890 or 12234567890&lt;/P&gt;&lt;P&gt;If there is a * in the string, i want to seperate it in 2 subfields with a length of 5 en 6 digits.&lt;BR /&gt;So the * is NOT the delimiter (otherwise it would be easier).&lt;/P&gt;&lt;P&gt;Now i load a table with the field and added the following in the script:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(WildMatch(Numberfield, '*'), 'FOUND *', ' * NOT FOUND') as NewNumberfield,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If working, i will replace the FOUND by a Left and Right). But it is not working (says it is found even there is no * in the string.&lt;/P&gt;&lt;P&gt;Anyone a idea? Also tried '***' as&amp;nbsp; extra wildcards because it is in de middle of the string.&lt;/P&gt;&lt;P&gt;ps: if i use a digit 5 as test instead of * , it is also not working....&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 14:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780227#M590812</guid>
      <dc:creator>intervigilium</dc:creator>
      <dc:date>2021-02-04T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split if string contains a specific character</title>
      <link>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780266#M590813</link>
      <description>&lt;P&gt;I think the identifying if there is a * and where could be easier done with:&lt;/P&gt;&lt;P&gt;substringcount('123456*7890', '*') and&amp;nbsp;index('123456*7890', '*')&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 16:35:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780266#M590813</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-02-04T16:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Split if string contains a specific character</title>
      <link>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780283#M590814</link>
      <description>&lt;P&gt;Thanks,!&amp;nbsp; It worked instantly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 17:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-if-string-contains-a-specific-character/m-p/1780283#M590814</guid>
      <dc:creator>intervigilium</dc:creator>
      <dc:date>2021-02-04T17:45:07Z</dc:date>
    </item>
  </channel>
</rss>

