The difficulty with using “such as” is to know when to use commas and when to not. Take a look at the following example – do you think commas are needed around the “such as” part or not?
“Foods, such as burgers and chips, can be detrimental to your health when eaten regularly.”
Well, commas are not needed here because “such as burgers and chips” is restrictive (i.e. it is essential to the meaning of the sentence). So it should read:
“Foods such as burgers and chips can be detrimental to your health when eaten regularly.”
Below is an example of a non-restrictive use of “such as”.
“Various pieces of personal information, such as your age, gender and occupation, will be collected during the registration process.”
As “such as your age, gender and occupation” can be removed without affecting the fundamental meaning of the sentence, commas are required.
Incidentally, a comma would also be required if this additional information is placed at the end of the sentence as below.
“Various pieces of personal information will be collected during the registration process, such as your age, gender and occupation.”
So, that’s how to use commas correctly with “such as”.
P&W Copywriting – Copywriting, Editing & Proofreading Services Based in Hong Kong