How do i get data from the value string?

@malcolm16 if you still need help with this, I posted a solution in this thread: