JavaScript String split() Method (OK)
https://www.w3schools.com/jsref/jsref_split.asp
var someString = "Hello, how are you today?";
var words = someString.split(/,\s*/);
// Mẫu cấu phẩu khoản trắng nếu nó
console.log(words);
["Hello", "how are you today?"]
PreviousTạo chức năng tự động hoàn tất nhập liệu với thư viện jQuery UI Autocomplete (Phần 2)NextSử dụng thư viện displace để làm menu kéo thả (ok):)))
Last updated
Was this helpful?