Notifications
Clear all
[Closed] converting system.strings to mxs strings
Oct 20, 2008 11:04 pm
is there an easy way to convert a .net string to a mxs string without doing a
local mxsString = ""
for x= 0 to Netstring.length do
append mxsString Netstring.chars[x]
?
2 Replies
Oct 20, 2008 11:04 pm
I’m not sure if the string object you’re using is System.String – but regardless, I’m going to guess that the generic <object>.toString() will do the trick. It does for System.String.
Oct 20, 2008 11:04 pm
yep, i was using system.string, and the .ToString call worked prefectly, thanks.