Split String in C# and VB.Net

Last Reply 2 months ago By dharmendr

Posted 2 months ago

hello

i have following string i want to break it in 2

string value= 22-52

the  result should be as 

customer id= 22

product id= 52

before - all digits are customer id it can be any 22 23 or 100 or1000 so before - customer and after - it is product id please advice

This question does not have replies that have been liked.