StefanAlmighty Posted March 22, 2016 Posted March 22, 2016 I'm confused on how to split strings, so I'm asking for help. If I have two values within one string like so: "10:20" I'd like to know how to split both numbers from the string into two separate numbers. From that string it would return integers 10 and 20. But how?
Moderators IIYAMA Posted March 22, 2016 Moderators Posted March 22, 2016 https://wiki.multitheftauto.com/wiki/Split or https://wiki.multitheftauto.com/wiki/Gettok Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now