再会,
有人可以在这里帮助我朝着正确的方向前进。
我有一个字符串:
Task 10001:Bring cooldrinks
Task 10005:Waffle Iron,
this should of course be cleaned
Task 10006:Remember Wife
Task 10000:Leave children
我如何分解它,以便我可以将每个任务粘贴到如下列表中:
List(0) = Task 10001: Bring cooldrinks
List(1) = Task 10005:Waffle Iron,this should of course be cleaned
List(2) = Task 10006: Remember Wife
List(3) = Task 10000: Leave children
我总是会收到这样的字符串 Task [number] : [Message]
[] 里面的那些是会有所不同的变量。