<?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[Best way to erase something in an array]]></title><description><![CDATA[<p dir="auto">Hello.<br />
It’s my first time programming and it is really funny because it’s so difficult to do easy things. It’s just unbelievable. But I suppose it’s due to optimisation. I have no clue.</p>
<p dir="auto">I cannot find a way to get the index position of a value in the array. It’s weird because it’s so simple. The array index should have its value and we should be able to search either by value or by index position. But we can’t.</p>
<p dir="auto">With loop I couldn’t figure out how it works.</p>
<p dir="auto">So I made a new system by modifying the array 3 times.</p>
<p dir="auto">First modify array (prepend value)<br />
Second delete duplicates<br />
Third delete first value</p>
<p dir="auto">Like that, I can erase something from the array.</p>
<p dir="auto">Do you know a better way to do that? I mean a proper way to do that?</p>
<p dir="auto"><img src="https://i.imghippo.com/files/RCp5798msc.jpg" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hyperpad.com/topic/2043/best-way-to-erase-something-in-an-array</link><generator>RSS for Node</generator><lastBuildDate>Wed, 08 Apr 2026 14:15:55 GMT</lastBuildDate><atom:link href="https://forum.hyperpad.com/topic/2043.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 Apr 2026 09:49:43 GMT</pubDate><ttl>60</ttl></channel></rss>