func String improvements

I just found your code and sow some chances to improve.