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