从键值对中解析目标结果值
static int getCharElement(const char *pSrc, const char *pTarget, char *pResult){ char * pSearchPoint = NULL; int i = 0; if (pSrc == NULL || pResult == NULL) { return 0; } pSearchPoint = strstr(pSrc, pTarget); if (pSearchPoint != NULL) { pSe
原创
2021-09-07 18:01:52 ·
65 阅读 ·
0 评论