https://wikimass.com/cpp/strrchr