Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
str = (99999)
How do I change symbol #4 to 0?
=> str = (99909)
You can use tokenat to get each letter.
Then insert each one into a temporary string.
When the letter index is equal 4, you will insert 0.
After that, you set your string equal temporary string.
Develop games in your browser. Powerful, performant & highly capable.
Here is the screenshot of the event will look like:
I thought there is an automatized command, but, anyway, thank you :)
If someone else will read that topic, here is my way to solve the problem:
with index=4, newCharacter="0", string= string to change.
system | set string to left(string,index-1)&newCharacter&right(string,len(String)-index)
Thanks, I did the same. But somewhy picture has not been posted in my previous post