Sorry for the delayed feedback, so no, you can't do that, as modifying `sptr` in that context actually modifies `newtext` as well since it's a pointer to it's internal string. You really need to create a new `MCStringRef` and to use it later in the function to take that code in account.