What is the correct punctuation when I use the phrase ‘such as’ in a sentence?
Id need to see a complete example, but youll probably need a comma before the such as, as in:
Some screwdrivers, such as a Phillips head, are not included in ordinary tool sets.
Heres a quote from the website Grammarly Handbook :
(Check it out on their web page:
Its easier to read there.)
The phrase such as only requires a comma in front of it if it’s part of a non-restrictive clause.
There are many different types of coniferous trees, such as pine and spruce.
The comma in this sentence isn’t necessary, as it’s only giving examples.
The Grade 5 class studied ancient cultures such as Greece and Rome.
Fresh fruit provides many nutrients such as vitamin C.
Neither of the above sentences requires a comma.
The Grade 5 class studied ancient cultures, such as Greece and Rome, before they studied different forms of government.
Fresh fruit provides many nutrients, such as vitamin C, and tastes good too.
These two sentences require the commas because such as is part of the non-restrictive clauses.