How do you use a semicolon in a list examples?

Items in lists are usually separated with commas (as in the first example below). However, if the list items themselves contain commas, then semicolons can be used as separators to outrank those commas. Examples: I have been to Newcastle, Carlisle, and York.

For More Information Please Refer: https://www.grammar-monster.com/lessons/semicolons_in_lists.htm