a = ["!-%" , "#7&33&" , "##71%"]
d = {"A":"#","N":"%","M":"\"}
b = ","join(a)
print b
for i in dkeys():
b = resub(d[i],i,b)
print bsplit(",")//试试:
List<String> list=new List<String>(){"X100","Y50","Z60"};
List<String> list_Result=new List<String>();
foreach(String s in lsit)
{
if (SubString(s,0,1)=="X")
{
s="X563";
}
else if(SubString(s,0,1)=="Y")
{
//Y换不换?
}
else if(SubString(s,0,1)=="Z")
{
//Z换不换?
}
list_ResultAdd(s);
}
//list_Result 结果存储在此
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)