I had code like below
return fetch(URI + 'api/brewing/1')
.then((response) => response.json())
.then((responseJson) => {
var parsedResponse = JSON.parse(responseJson["data"][0]["steps"]);
var stringData = JSON.stringify(parsedResponse);
})
.catch((error) => {
console.error(error);
});
}
And get data like below
After soaking your filter in a warm water bath for at least five minutes, drop it into the bottom of your siphons top component, or hopper, and hook to the bottom of the hoppers glass tubing.,Fill your siphon bottom component.,Insert the hopper, filter and all.
I want to split the paragraph after dot and comma delimiter into an array so I can loop all the data. How can I do that? Thanks.
str.split(/[.,]+/)String.split()? For the record, this is a very basic method you learn in every tutorial.