I have a string array
String ipist[] = { "817", "818", "819", "820", "821" };
My requirement is if the input is 2
ipist should be
ipist[] = { "817", "818" };
for input 4
ipist[] = { "817", "818", "819", "820" }
that is based on the input need to keep the array elements