how to strip a string ignore case?
<p>I am trying to strip the word "error:" from <code>error</code> variable,I want to strip of error:for all cases?how can I do that?</p>

<pre><code>error = "ERROR:device not found"
#error = "error:device not found"
#error = "Error:device not found"
print error.strip('error:')
</code></pre>