flossing Posted August 31, 2019 Share Posted August 31, 2019 Hi, I'm testing some stuff in a game and I'll present some examples. For example, I have this text "gun1" and that's 4 characters long. I am able to replace that text with another 4 character long text called "gun2" But when I try to replace it with a text that's lower or higher than 4 characters, it just breaks. Is there anyway around this? Thank you. Link to comment Share on other sites More sharing options...
Administrators Enyby Posted August 31, 2019 Administrators Share Posted August 31, 2019 Search string length before string start. And edit it. Or search zero byte at end. And put it at end for lesser string. Link to comment Share on other sites More sharing options...
Question
flossing
Hi,
I'm testing some stuff in a game and I'll present some examples.
For example, I have this text "gun1" and that's 4 characters long.
I am able to replace that text with another 4 character long text called "gun2"
But when I try to replace it with a text that's lower or higher than 4 characters, it just breaks.
Is there anyway around this?
Thank you.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.