[MacRuby-devel] convert array into a string
Joel Reymont
joelr1 at gmail.com
Mon Jan 10 13:08:58 PST 2011
I would like to do
mungedRegistration = [...]
registrationString = NSString.stringWithUTF8String(mungedRegistration)
but this results in
can't convert Array into String (TypeError)
What is the best approach here?
I do need my munged registration to be an array since I'm initializing it with numbers and then do calculations on these numbers to convert them into character values.
Thanks, Joel
---
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
More information about the MacRuby-devel
mailing list