题解 | #字符串分隔#
字符串分隔
http://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
学习了大佬的思路
let str;
while(str = readline()) {
str += '00000000';
for(let i = 8; i < str.length; i += 8) {
console.log(str.substr(i - 8, 8));
}
}