Stuff
public c v1 · immutablechar* parse_phonenumber (char* str) { char number[11] = {0}; /* until we find 10 digits */ while (strlen(number) < 10) { /* find next digit in the string */ if (str = strpbrk(str, "0123456789")) == NULL) { return NULL; } number[strlen(number)] = *str++; } return number;}