#include "internal.h" // find will find the first occurence of // substr in the string returns -1 if nothing was found. int stringĀ·find(string s, char* substr) { char* loc = strĀ·find(s, substr); if(loc == nil) return -1; return(int)(loc - s); }