Clean up string format solution with something a little more efficient. From #26.