I have an 18 character string that I need to split into two. The first 8 characters will go in one string, the remaining 10 into another string. I can pull out the first 8 characters no problem with the strcpy function. It's the remaining 10 that is giving me problems. From everything I've goggled it looks like the only way to do this is with a custom function that loops through the original character string and builds the new one character by character. Am I missing something?
I'm hoping one of you can help me out.
Marked as spam
Please log in to participate..