Looking to split a simple string of 8 random digits:
myString = "08928192"
So that it will read as:
myStringX = "08"
myStringY = "92"
myStringA = "81"
myStringB = "92"
Looking for a method that is simple to follow and gives me these strings as shown. The number is generated from a random.rand_range() function earlier own. The need for this arises that I need a way to randomly define an objects map co-ordinates and two other properties( Most likely going to be health and size) for a resource-management style game I am working on. The rest of the code is easy enough, just this part stumped me.
Many Thanks ArchangelArchitect