Converting an array in curly braces to a square bracketed array
问题 I've inherited a database that stores an array of strings in the following format: {"First","Second","Third","Fourth"} This is output as an ordered list in the application. We're replacing the front-end mobile app at the moment (ionic / angular) and want to do an ngFor over this array. In the first iteration, we did a quick and dirty replace on the curly brackets and then split the string on "," but would like to use a better method. What is the best method for treating this type of string as