rindex : 反向搜索字符串中的字符
#include <string.h>char * rindex(const char *string, int c);```### 描述
此函数查找由 string 指向的字符串中最后一次出现的 c(转换为 char 类型)(包括终止空字符)。
此函数与 strrchr 完全相同。### 返回值
返回一个指向找到的字符的指针,如果 c 未在 string 中出现,则返回一个空指针。
---
**权威来源**: BUSMASTER DITA help source `rindex.dita`, compiled into `BUSMASTER.CHM` with the application.