There is no local variable named `del` defined in this method, so this would cause an error -- also, the `delete` method on strings returns the string that was deleted, not the modified string.