user11089: I am running some code that works fine on my windows system using the .remove method.  On Ubuntu 16.04 I get the following errror: 
error: ‘class String’ has no member named ‘remove’

To see if it was installation, I uninstalled arduino with 
sudo apt-get purge arduino arduino-core

then 
sudo apt-get update
sudo apt-get upgrade

sudo apt-get install arduino arduino-core

and the issue remains.  I have seen some people say opening arduino through the terminal (from this), although that does not fix it.  
Arduino version 
2:1.0.5+dfsg2-4
Any help is appreciated.  

user972: The remove method was added to the String class in 1.0.6.
Installing Arduino IDE from the Ubuntu repository gets you a really old package (1.0.5).
You should download and install the newest version from the official Arduino page.

11089: <p>I am running some code that works fine on my windows system using the .remove method.  On Ubuntu 16.04 I get the following errror: </p>

<pre><code>error: ‘class String’ has no member named ‘remove’
</code></pre>

<p>To see if it was installation, I uninstalled arduino with </p>

<pre><code>sudo apt-get purge arduino arduino-core
</code></pre>

<p>then </p>

<pre><code>sudo apt-get update
sudo apt-get upgrade

sudo apt-get install arduino arduino-core
</code></pre>

<p>and the issue remains.  I have seen some people say opening arduino through the terminal (<a href="https://github.com/arduino/Arduino/issues/2512" rel="nofollow noreferrer">from this</a>), although that does not fix it.  </p>

<p>Arduino version 
2:1.0.5+dfsg2-4</p>

<p>Any help is appreciated.  </p>
 972: <p>The <code>remove</code> method was added to the <code>String</code> class in 1.0.6.</p>

<p>Installing Arduino IDE from the Ubuntu repository gets you a really old package (1.0.5).</p>

<p>You should <a href="https://www.arduino.cc/en/Main/Software" rel="noreferrer">download</a> and install the newest version from the official Arduino page.</p>
