🌈 搜索
📅  最后修改于: 2022-03-11 15:01:13.381000             🧑  作者: Mango
let string = "Hi\nHow are you?" let newstrings = string.split("\n"); // [ "Hi", "How are you?" ]