Further editing, Xcode compiler allows tokenptr to be used and doesn't need to be converted to string format. If needed, go back one version before.