Now, I'm 99.9% sure there's no problem with the substr method - it's surely a far too commonly used method to cause memory leaks without someone noticing. Also, I've been working on this app for ...