Wow OK, I didn't think remove() changed the original string.
Thanks for pointing this out.