Hi I have text editor widget in smalltalk (visual works) that returns a text object, however I want the text returned to be handled as a string object.
How do you parse a text object as a string?
Hi I have text editor widget in smalltalk (visual works) that returns a text object, however I want the text returned to be handled as a string object.
How do you parse a text object as a string?
if
Text
andString
are different classes in VW Smalltalk (which I don't have easy access to at the moment), see if you can callyourText asString
or perhapsString newFrom: yourText
or maybeyourText as: String
. Most of these would work in Squeak Smalltalk.