G
gh
Hi,
I have a string variable which contains n number of comma delimited
elements and I would like to store each element into an array but I
could not figure how to do it.
for example, 1stitem,2nditem,3rditem,4thitem, ..., nthitem
What would be the best way of storing the above string into an array
like
tempary[0]="1stitem"
tempary[1]="2nditem"
tempary[2]="3rditem"
tempary[3]="4thitem"
....
....
tempary[n-1]="nthitem"
thanks.
I have a string variable which contains n number of comma delimited
elements and I would like to store each element into an array but I
could not figure how to do it.
for example, 1stitem,2nditem,3rditem,4thitem, ..., nthitem
What would be the best way of storing the above string into an array
like
tempary[0]="1stitem"
tempary[1]="2nditem"
tempary[2]="3rditem"
tempary[3]="4thitem"
....
....
tempary[n-1]="nthitem"
thanks.