如何在dart中将字符串分成键/值对?

问题描述

如何在dart中将字符串分成键/值对?该字符串用import re def repl(s): return '#' * len(s) some_string = 'This is text blah,other text blahhhh and more text' some_regex = r'(blah+)' split = re.split(some_regex,some_string) for i in range(0,len(split),2): # every other element is between the matches split[i] = repl(split[i]) new_string = ''.join(split) print(new_string) 分隔。以及如何提取对值?

"="

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)