Convert a string into a null-terminated string?

BlitzMax Forums/BlitzMax Programming/Convert a string into a null-terminated string?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Because you made reference to 'String.FromCString' I thought you were talking about an external function or some c code allocating the c-string, in which case freeing it would depend on how the function allocated it.