<?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 using StringUtils.countMatches in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333460#M102241</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have issues using StringUtils.countMatches in talend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i do :&lt;/P&gt;&lt;P&gt;I have a variable with several status in a String &lt;/P&gt;&lt;P&gt;        ==&amp;gt; context.STAT = "10,20" for example&lt;/P&gt;&lt;P&gt;And when i try to use StringUtils.countMatches like that, it sends me an error message&lt;/P&gt;&lt;P&gt;        ==&amp;gt; StringUtils.countMatches(context.STAT, "20");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method countMatches(String, String) is undefined for the type StringUtils.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to import StringUtils but it doesn't change a thing. Am i missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My java version is 1.8&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:22:15 GMT</pubDate>
    <dc:creator>GRomain</dc:creator>
    <dc:date>2024-11-16T00:22:15Z</dc:date>
    <item>
      <title>using StringUtils.countMatches</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333460#M102241</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I have issues using StringUtils.countMatches in talend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i do :&lt;/P&gt;&lt;P&gt;I have a variable with several status in a String &lt;/P&gt;&lt;P&gt;        ==&amp;gt; context.STAT = "10,20" for example&lt;/P&gt;&lt;P&gt;And when i try to use StringUtils.countMatches like that, it sends me an error message&lt;/P&gt;&lt;P&gt;        ==&amp;gt; StringUtils.countMatches(context.STAT, "20");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The message is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method countMatches(String, String) is undefined for the type StringUtils.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to import StringUtils but it doesn't change a thing. Am i missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My java version is 1.8&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333460#M102241</guid>
      <dc:creator>GRomain</dc:creator>
      <dc:date>2024-11-16T00:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: using StringUtils.countMatches</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333461#M102242</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe you can use StringHandling.COUNT("hello world!","world") instead of StringUtils methods. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 17:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333461#M102242</guid>
      <dc:creator>MS5</dc:creator>
      <dc:date>2021-03-29T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: using StringUtils.countMatches</title>
      <link>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333462#M102243</link>
      <description>&lt;P&gt;Hi you'll have to import this library : &lt;/P&gt;&lt;P&gt;org.apache.commons.lang3.StringUtils&lt;/P&gt;&lt;P&gt;wich contain the folowing method countMatches(String,String).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 08:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/using-StringUtils-countMatches/m-p/2333462#M102243</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2021-03-30T08:01:50Z</dc:date>
    </item>
  </channel>
</rss>

