I am trying to split a string by : and by \n. I am not sure as to why the line of code below does not work.
let contents = response.split("[:\n]");
I am trying to split a string by : and by \n. I am not sure as to why the line of code below does not work.
let contents = response.split("[:\n]");
