int strlen1(const char *str);
char *del_char(char *str,char c); char *delete_string(char *str,int pos,int len); const char *strstr1(const char *src,const char *sub); char *strchr1( char *str, char ch ); int chrcnt1(const char *src,char ch); char *strpbk(char const *s,char const *accpet);
char *strcpy1(char *Dest,const char *source); char *strncpy1(char *Dest,const char *source,int len); void *memcpy1(void* dst,const void* src,size_t count); void *memmove1(void* dst,const void* src,size_t count); char *strcat1(char *dest,const char *src); char *strncat1(char *dest, const char* src,int num);
void sort1(char *src,int num);
char *strrv1(const char *str); char *strrv2(const char *str); char *strrv3(char *str,int len); void revstr(char *src); int isRevstr(char *str);//判断是否为回文level void loopMove(char *src,int n); char *loopmove(char *str, int num);
//计算字符串的长度
int strlen1(const char *str) { int len=0; while (*str++!='