It's also simpler to create a substring starting at a position to the end of the String, and then insert a NULL at the appropriate position, where the String should end. Determine THAT location (in the substring) AFTER extracting the first substring.
econjack:
It's a lot easier for us if you post the entire program so we can run it ourselves.
thanks for response
uhm It's difficult because it's a part of a Library called to another library, I should paste 6 or 7 files...tomorrow i'll create a little example program with this function
uhm It's difficult because it's a part of a Library called to another library, I should paste 6 or 7 files...
Then you should write code that will do the String parsing successfully on the character String you have, then integrate that back into your other code.