#include <string.h>
#include <stdio.h>

int main(int argc, char* argv[]) {
	char *world = "world";
	printf("%ld\n", strcspn("hello", world)); // should be 2
	printf("%ld\n", strcspn("banana", world)); // should be 6

    return 0;
}