Using Oraclize, I request a some external data in the form "1 2 3"
, i.e., space-separated integers (OR any other delimiter).
Indeed, these numbers could be requested one at a time, but this would be EXPENSIVE.
Now, to work with these integers, I need to convert them back to integers and store them inside an array.
I know the parseInt()
function for converting a string to a number, but how to I break up the string into "1"
, "2"
, "3"
, such that I can parse the numbers and store them in an array?
string
and the computer-y meaning is also simply just another English word. OP's title was fine as-is. Edit adds three mistakes.