I have a string like below
Ontario;Northwest Territories;Nunavut;Prince Edward Island
from this string I need to create an array of string like
territoty:Array<string> = [Ontario,Northwest Territories,Nunavut,Prince
Edward Island]
in javascript.
How can I create the array from the string?