Hi, I write some data(Hello) in a file copy.txt. I read from the file copy.txt to convert the text "hello" to ASCII and then i store it in another file copy1.txt.
It saves the ascii like this in the file copy1.txt: 104101108108111.
Below is the ascii of each character:
104 - h
101 - e
108 - l
108 - l
111 - 0
Now i want to read from the copy1.txt to convert it back to string. My problem is that how will i know how many numbers represent a character. In this case the length of the ascii for each character is 3. But i want to cater a situation where the length of each character varies. Can someone help?