https://wikimass.com/cpp/strspn