I have a code in C# that I want to return only a single item from the array, what I currently have is, it returns all the result as following:
1 This transaction has been approved.
2 NRO6CL
3 Y
4 2223032442
5 Sample Transaction
6 19.99
7 CC
All I need to do is, get 19.99 from the array. not everything in that array as shown above. The code below displays all the elements in the array.
Array response_array = post_response.Split('|');
resultSpan.InnerHtml += "<OL> \n";
foreach (string value in response_array)
{
resultSpan.InnerHtml += "<LI>" + value + " </LI> \n";
}
resultSpan.InnerHtml += "</OL> \n";
response_array[6]actually points toCC