I have a string array that has a list of values like this
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
I am trying only to get the first ten so my output looks like this and store it another string array.
1
2
3
4
5
6
7
8
9
10
it seems really easy i just can’t figure it out
OR
EDIT: Based on your comment that you want it in a string array. Here is what you have to do