Page 1 of 1

splitting commer seperated values

PostPosted: Mon Aug 05, 2024 6:46 am
by Battwell
i found this example online. trying to seperate the numbers out.
obviously doesnt work :-)
any help?



string values = "0,1,2,3,4,5,6,7,8,9";

foreach(string value in values.split(','))
{
//do something with individual value
exec.AddStatusmessage("TOOL # "+ value);
}

Re: splitting commer seperated values

PostPosted: Mon Aug 05, 2024 6:48 am
by Battwell
actual line type will be

t6,t8,t9,t4,t3