Improved string format completion.