首页 > 解决方案 > 如何从给定的数组中提取或获取不带双引号或单引号的文本。?

问题描述

我有一个存储字符串值的数组,在每个索引处我获取字符串时都得到了字符串,但我想要获取的是引号内的文本。

Here is my array


   var name=["amharic1[index]","amharic2[index]","amharic3[index]","amharic4[index]"];
    
   for example. name[0]== "amharic1[index]", But I want to get amharic1[index] with out quotes

标签: flutterdart

解决方案


推荐阅读