formatted string in writer