I've been trying to find a way to parse a string in the following format:
something:string1@string2:string3
I've been using sscanf and I can't seem to get the format correct:
I've tried:
"something:%s@%s:%s"
and
"something:%[^@]s%[^:]s%s"
both to no avail. Can anybody help me out with this? Thanks.