My friends(,) Tom, John and James(,) came to visit me.
Are the commas in brackets needed?
Thanks.
Yes, in my opinion. They function rather like brackets.
Context is always important; labelling is rarely important.
Here's a trick. Omit the appositive 'Tom, John and James' and if your intended meaning stays the same, add commas as 5jj suggests; if, however, the meaning changes, leave out the commas. Here's an example:
Restrictive Appositive
A: Who exactly came to visit you?
B: My friends Tom, John and James came to visit me.
Thanks, Soup and 5jj.
Restrictive Appositive
A: Who exactly came to visit you?
B: My friends Tom, John and James came to visit me.
I don't understand the above explanation. It seems to mean that in my sentence, the commas are optional. Could either of you elaborate?
Sorry for the inconvenience.
Thanks for your help.
Many thanks, Soup.