/*
*!==============================================================
*! FNAME: SubStr.cpp
*! BRIEF:
*! AUTHR: RollStone
*! EMAIL: jealdean@outlook.com
*! VERNO: 1.0.9
*! CREAT: 2015-05-05 19:19:59
*! CHGON: 2015-05-05 22:04:12
*!
*! Copyright (c) 2015 All Rights Reserved By Abodu Org
*!==============================================================
*/
#include <iostream>
#include <string.h>
#include <stdio.h>
using namespace std;
/**
* @brief
*
* @param str[]
* @param substr[]
*
* @return
* if not str or not substr return -1
* index of substr in str
*/
int
查找字符串中指定的子串的首次出现的位置
最新推荐文章于 2024-05-17 20:40:02 发布