c# 4.0 - I want to split the data in the list when i see the ; in C# -
i need split data in box , add new line when see ";"
var retryparaminfo = new exparamscontent { idenitifier = tempidentifier.serialnumber, name = string.format( "retry information console {0}",i), value = mytestrunglobals.fixturecomponents[i].uuts[0].retrylist, //value = thisuut.retrylist.replace("\n", "\n" + environment.newline), }; uuttempinfo.exparams.add(retryparaminfo);
to split string when character occours, can use:
mystring.split(';');
and make result of inside array.
Comments
Post a Comment