I have a collection of strings which contain values like "goalXXvalue,goalXXLength,TestXX". It is a List(of String)
I thought I would be able to loop through each item and replace the XX value which I've tried with the method below but the values don't change. Where am I going wrong?
Thanks
metricList.ForEach(Function(n) n.Replace("XX", "1"))
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…