📜  将字符串拆分为 char js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:36.243000             🧑  作者: Mango

代码示例2
var Str = "Hello There!"
var SplitOn = " "
var Results = Str.split(SplitOn);
//Results[0] will be 'Hello' and Results[1] will be 'There!'