array_sscanf("AB^CD", "%s%[^]s%s"); array_sscanf("ab^CD", "%s%[^]s%s"); array_sscanf("AB^CD", "%s%[^]s%s"); array_sscanf("ab^CD", "%s%[^]s%s"); array_sscanf("ab^cd", "%s%[^]s%s");
^ I don't think you intended for the 's' to be there.
something is being very confused here...
greetings, martin.