var str = "2018-01-31 17:47:27;ul Lenina 29A;DOWN"; document.write(str.split(" "));
Related questions
var str = "2018-01-31 17:47:27;ul Lenina 29A;DOWN"; document.write(str.split(";"));
Find more questions by tags JavaScript
document.write(str.split(" ; "[0]));
So? - Emie_Torphy commented on June 8th 19 at 17:12