Asked 4 years ago
28 Nov 2019
Views 1052
david

david posted

how explode string to array in javascript


var text = "This is test +++ this second test "

i want to explode this string with +++ in js
how to do it ?
Rasi

Rasi
answered Nov 30 '-1 00:00


var rtext = "This is test +++ this second test "
console.log(rtext.split("+++"))
Post Answer