long* utility function
improve long*
truncate-with-dots function