<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[in B but not in A]]></title><description><![CDATA[<p dir="auto">I have 2 lists, A and B, and I want to create a list that includes the values that are in B but not in A.<br />
Please guide me</p>
]]></description><link>http://community.bablosoft.com/topic/24963/in-b-but-not-in-a</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 16:01:18 GMT</lastBuildDate><atom:link href="http://community.bablosoft.com/topic/24963.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Jul 2023 10:49:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to in B but not in A on Mon, 24 Jul 2023 11:35:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.bablosoft.com/uid/15879">@DuckDuck</a> The tool only returns a true or false value, and I need to find out the different lists."</p>
]]></description><link>http://community.bablosoft.com/post/154520</link><guid isPermaLink="true">http://community.bablosoft.com/post/154520</guid><dc:creator><![CDATA[ptt.bds]]></dc:creator><pubDate>Mon, 24 Jul 2023 11:35:36 GMT</pubDate></item><item><title><![CDATA[Reply to in B but not in A on Sat, 22 Jul 2023 11:50:33 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1690026631289-screen-shot-2023-07-22-at-14.50.20.png" alt="Screen Shot 2023-07-22 at 14.50.20.png" class=" img-fluid img-markdown" /></p>
]]></description><link>http://community.bablosoft.com/post/154444</link><guid isPermaLink="true">http://community.bablosoft.com/post/154444</guid><dc:creator><![CDATA[DuckDuck]]></dc:creator><pubDate>Sat, 22 Jul 2023 11:50:33 GMT</pubDate></item><item><title><![CDATA[Reply to in B but not in A on Sat, 22 Jul 2023 11:03:14 GMT]]></title><description><![CDATA[<pre><code class="language-javascript">function valuesInBNotInA(A, B) {
  // Use the filter method to create a new array with values from B that are not in A
  const result = B.filter(value =&gt; !A.includes(value));

  return result;
}

// Example lists A and B
const listA = [1, 2, 3, 4];
const listB = [3, 4, 5, 6];

// Call the function to get the values in B not in A
const valuesNotInA = valuesInBNotInA(listA, listB);
console.log(valuesNotInA); // Output: [5, 6]
</code></pre>
]]></description><link>http://community.bablosoft.com/post/154438</link><guid isPermaLink="true">http://community.bablosoft.com/post/154438</guid><dc:creator><![CDATA[sergerdn]]></dc:creator><pubDate>Sat, 22 Jul 2023 11:03:14 GMT</pubDate></item><item><title><![CDATA[Reply to in B but not in A on Fri, 21 Jul 2023 19:47:13 GMT]]></title><description><![CDATA[<p dir="auto">Easy.</p>
<p dir="auto"><strong>Foreach</strong> &lsqb;&lsqb;LIST_B&rsqb;&rsqb;<br />
_ <strong>Contains</strong> <em>Variable with list:</em> &lsqb;&lsqb;LIST_A&rsqb;&rsqb; <em>Value:</em> &lsqb;&lsqb;FOREACH_DATA&rsqb;&rsqb;<br />
_ <strong>If</strong> &lsqb;&lsqb;LIST_CONTAINS&rsqb;&rsqb; == true<br />
_ _ <strong>Delete By Value</strong> <em>Variable with list:</em> &lsqb;&lsqb;LIST_B&rsqb;&rsqb; <em>Value:</em> &lsqb;&lsqb;FOREACH_DATA&rsqb;&rsqb;</p>
]]></description><link>http://community.bablosoft.com/post/154405</link><guid isPermaLink="true">http://community.bablosoft.com/post/154405</guid><dc:creator><![CDATA[simplyx]]></dc:creator><pubDate>Fri, 21 Jul 2023 19:47:13 GMT</pubDate></item></channel></rss>