Converts the string to an array of ints. outputVector created.