I’ve got text from a web page via the content as xojo.Core.MemoryBlock in the PageReceived event of a xojo.net.httpsocket. I’ve parsed the text and would like to put that into a TextField. One might think that myTextField.AddText(myText) would be the thing, but alas, the argument to AddText is defined as a string. It seems plausible that there might be some orthogonality to the language and one could use myTextField.value = myText.ToString(myEncoding), but no. There is myText.ToCString(), but still no way to get to a String.
What step am I missing to get from Text to a String? I wouldn’t think this would be very hard to do.