This is with respect to the following
Transform string of objects into elements of object
As per that, i had a different data. Instead of that data, i have comma seperated values. How can i put all those values in element. Any Suggestion please.
Here is my new data.
[0,5]
0: "A123,G,2323232"
1: "F345,G,345667"
2: "T677,G,-34343"
3: "G454,G,4343"
4: ""
Can someone please let me know how to convert above commas values present in an array into the following
[0,4]
0:
UserId:A123
Type: G
Values: 2323232
1:
UserId: F345
Type: G
Values: 345667
2:
UserId: T677
Type: G
Values: -34343
3:
UserId: G454
Type: G
Values: 4343