mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
17 lines
755 B
C
17 lines
755 B
C
|
#ifndef __STR_ARGS__H
|
||
|
#define __STR_ARGS__H
|
||
|
#include "dataArgs.h"
|
||
|
Args* New_strBuff(void);
|
||
|
char* strsGetFirstToken(Args* buffs, char* strIn, char sign);
|
||
|
char* strsGetLastToken(Args* buffs, char* arg_Path, char sign);
|
||
|
char* strsPopToken(Args* buffs, char* tokens, char sign);
|
||
|
char* strsCopy(Args* buffs, char* source);
|
||
|
char* strsDeleteChar(Args* buff, char* strIn, char ch);
|
||
|
char* strsCut(Args* buffs, char* strIn, char startSign, char endSign);
|
||
|
char* strsRemovePrefix(Args* buffs, char* inputStr, char* prefix);
|
||
|
char* strsAppend(Args* buffs, char* strOrigin, char* strAppend);
|
||
|
char* strsFormat(Args* buffs, uint16_t buffSize, const char* fmt, ...);
|
||
|
char* strsGetDirectStr(Args* buffs, char* argPath);
|
||
|
char* strsGetCleanCmd(Args* buffs, char* cmd);
|
||
|
#endif
|