Useful when we have pointer to char inside string, but need to return char index. (E.g. str.find()).
4.4 KiB
4.4 KiB
Useful when we have pointer to char inside string, but need to return char index. (E.g. str.find()).