c# 4.0 - I want to split the data in the list when i see the ; in C# -


enter image description here

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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -