在App Inventor中,有没有类似于Python中eval()函数这样,把一串字符(诸如'['1','2','3','4']')转换为列表的方法?非常感谢!
eval()
'['1','2','3','4']'
Is there a method in App Inventor similar to the eval() function in Python that converts a string of characters (such as '['1','2','3','4']') into a list? Thank you.
try the list from csv row block from the list drawer, which converts '1','2','3','4' (without the outer brackets) into a list
Taifun
use Web component
谢谢,web组件完美解决了需求。 Thank you,webcomponent perfectly meets the requirements.
web组件
web
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.