[SOLVED] Sscanf() not saving sting sections to variables

It's also a good idea to limit the amount of characters to be read, for example if size of str2 is 7, you want to read max 6 characters, with %6[^,]. If there are more than 6 characters to be read, sscanf will fail, instead of writing outside of the array.. :slight_smile:

2 Likes