I'm just wondering if there is any shortcut to making multiple lines into separate strings. I was making a list and copied in data from worldtimeapi.com, in the format:
List<list_Of_Places> placeList = ["""
Africa/Abidjan
Africa/Accra
Africa/Algiers
Africa/Bissau
Africa/Cairo
Africa/Casablanca
Africa/Ceuta
Africa/El_Aaiun
"""];
And now I want to make these into separate strings. I was wondering if there is any shortcut to this or will I have to put '...' on every line? Like this:
List<list_Of_Places> placeList = [
'Africa/Abidjan'
'Africa/Accra'
'Africa/Algiers'
'Africa/Bissau'
'Africa/Cairo'
'Africa/Casablanca'
'Africa/Ceuta'
'Africa/El_Aaiun'
];
Sorry if my formating is bad, this is my first post here.