I am in the process of redoing my text string formatting in my array. I've changed the lbft3 and gcm3 to the proper lb/ft³ and g/cm³. I've formatted everything the same as the original array but for some reason on every line of the array I get an Unterminated String Literal error. Which seems to be because it's not seeing the comma at the end of each line. I've tried removing the "special formatting" like the cubed character and the slash, leaving only numbers and text, but still the issue persists.
I've included a snippet of each array for comparison.
Reformatted array with issue:
let materialData = [
"Acetaminohen Powder, Unmilled 43 lb/ft³ 0.688794 g/cm³”,
"Acetylene Black, 100% Compressed 35 lb/ft³ 0.560646 g/cm³”,
"Acetylsalicyic Acid 20 lb/ft³ 0.320369 g/cm³”,
"Acrylamide 34 lb/ft³ 0.54463 g/cm³”,
"Acrylic Granules, Coarse 40 lb/ft³ 0.64 g/cm³”,
]
Original array without issue:
let materialData = [
"Acetaminohen Powder, Unmilled 43 lbft3 0.688794 gcm3",
"Acetylene Black, 100% Compressed 35 lbft3 0.560646 gcm3",
"Acetylsalicyic Acid 20 lbft3 0.320369 gcm3",
"Acrylamide 34 lbft3 0.54463 gcm3",
"Acrylic Granules, Coarse 40 lbft3 0.64 gcm3",
]