我试图环顾网络寻找将字符串拆分成字符数组的答案,但我似乎无法找到一个简单的方法
str.split(//)似乎没有像Ruby那样工作.有没有循环的简单方法吗?
str.split(//)
python split
python ×1
split ×1