convert string in to array vue js code example Example: convert string to array in vue js myString.split(","); // converts string with commas to array