added string.Format and fixes string.find