1:split()
以指定的分割字符将string对象分割成数组
var lrc = `[00:01.06]难念的经
[00:03.95]演唱:周华健
[00:06.78]
[00:30.96]笑你我枉花光心计
`;
var parts = lrc.split("\n");
// 结果为 parts["[00:01.06]难念的经","[00:03.95]演唱:周华健",“[00:06.78]”,“[00:30.96]笑你我枉花光心计”]
2:substr()
返回一个字符串中从指定位置开始到指定字符数的字符
var lrc = ["[00:01.06"]
var time = lrc[0].substr(1);
//time 结果为 time = ["00:01.06"]