Vugen scripting Code: Does anyone have the code for spliting astring into two substrings?
Question ID:
104774
♥ 0 |
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
|
Answers (1)