Is there a function in VB.net that allows me to divide a really long String into a specific number of characters?
For example:
MyString= "Hello man! Wazzup?"
group1="Hello "
group2="man! W"
group3="azzup?"
The length of this string is 18 and I'd like to group it by 3, so each group would contain 6 characters. Is there an easier way of doing this? Is there a predefined function in VB.net? I'm already thinking of doing it manually, like converting the string into characters and storing them inside arrays. *My plan is still a bit fuzzy :P* But yeah, if you know of an easier way, then please let me know. :) thanks.