Good day,
I have a string that I need to cut into smaller new strings. How is this done?
Given:
objGivenString = "QWERTYUIOPQW"
I want:
objFirstString = "QWER"
objNextString = "TYUI"
objLastString = "OPQW"
As you can see my given string is 12 chars long and my new strings are each 4 chars long. How do I loop through the given string 3 times to find the 4 chars in each part?
Thanks,
Magnus
I have a string that I need to cut into smaller new strings. How is this done?
Given:
objGivenString = "QWERTYUIOPQW"
I want:
objFirstString = "QWER"
objNextString = "TYUI"
objLastString = "OPQW"
As you can see my given string is 12 chars long and my new strings are each 4 chars long. How do I loop through the given string 3 times to find the 4 chars in each part?
Thanks,
Magnus