Is it ok if instead of the (char *) cast, I do :

char *sptr = strdup(MCStringGetCString(newtext))   ??

In that way, the string returned by MCStringGetCString() method will not be modified, right?