I have read several posts on this topic, but none of the codes provided (sometimes fragments) helped me to resolve my simple problem of converting a binary string like this one:
01100111 01101111 01101111 01100100 00100000 01001101 01101111 01110010 01101110 01101001 01101110 01100111 00100000
Into a text string Good Morning
I am probably unable to put together the code fragments that I found in the links that are available in stackoverflow. Would someone be so kind and give me the full code? Assume i have the input string (text) coming from a JTextarea which I am accessing through "gettext()" e.g. text = tTextarea.gettext();
so it is the text would be -
01100111 01101111 01101111 01100100 00100000 01001101 01101111 01110010 01101110 01101001 01101110 01100111 00100000)
that needs to be processed to the answer. Assume I will put the output string (=answer) into the same Textarea with "settext(). ttextarea.settext(answer)
thanks in advance.