Is there a way to take an input string, store it into a array and then pass each index of that array to a variable to hold before being overwritten by the next array index value?
For example:
A number of input values which are of type:String are being created
String 1 is given as "Value: 7.93 22-10-2017 10:33:32"
String 2 is given as "Value: 8.93 22-10-2017 12:10:15"
.
.
.
String 10 is given as "Value: 6.93 22-10-2017 18:03:04"
The string structure is known but its contents as such will vary
After a time period of say 60sec. The contents of array[0] which will be String 1 will be assigned to a given variable "output"
After the next 60sec time period .The contents of array[1] Which will be String 2 will be stored into the same "Output" variable in which the previous value will be now overwritten
This continues until array[9] i.e String 10 in which the array will begin over and start to populate "output" with newly presented string values