Sends data but now its going character by character

Made some progress but now its accessing the data as a string and
indexing it by character.