Elminating subtle errors in handling const strings