我有这个字符串:
a = "hy what are you doing [Zoho Reports] will you like? [Zoho Books] reply"
我想拆分它,所以结果是这样的:
hy
what
are
you
doing
[Zoho Reports]
will
you
like?
[Zoho Books]
reply
如何循环该字符串以实现这些结果?我目前正在这样做:
a.split("")
但它分裂"[Zoho Reports]"
成"[Zoho"
and "Reports]"
,这是我不想要的。