Hi Team,
I have string variable like 12; 13;14;15;16;17;18;19;10 etc…
If string contains more than semicolon (;). Need to separate the string in to multiple strings.
For example i have string contains 1074 semicolon (;).
Ap i need to split the data in to 2 parts string1 have 1000 and string2 have 74
Because my application is support to entere only 1000 strings at a time
That’s the reason i need to split the strings if more than 1000 semi columns.
Hi @Ramudu ,
To split the string into two parts — with the first part containing 1,000 semicolon-separated numbers and the second part containing the remaining 74
Use the Split method to separate the string by semicolons (;).
input.Split(“;“c)
Extract First 1,000 Items:Use String.Join to join the first 1,000 elements
String.Join(”;”, arr_numbers.Take(1000))
Extract Remaining Items (74):Use String.Join to join the remaining elements
String.Join(“;”, arr_numbers.Skip(1000))