Ubuntu class string has no member remove 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.
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.