This could be updated to using `MCString*` function and an offset to create the substring. Since the same kind of update is to be done in another file, it might be worth to add a function `MCU_skip_spaces(MCStringRef, uindex_t& x_offset)` which skips spaces from `x_offset` and updates it appropriately.