?? cj_string.h
字號:
/*****************************************************************************/
/* */
/* 文件名:CJ_STRING.H */
/* 創建人:徐攀峰 */
/* 日 期:2005/01/10 */
/* 描 述:字符串處理函數組包含文件 */
/* */
/* */
/* 修改人:彭勃 */
/* 日 期:2005-05-21 */
/* 描 述:修改了不符合規范的代碼格式 */
/* */
/* 修改人:彭勃 */
/* 日 期:2005-05-26 */
/* 描 述:修改了注釋格式和代碼格式 */
/*****************************************************************************/
#ifndef CJ_STRING_H
#define CJ_STRING_H
#ifdef __cplusplus
extern "C"
{
#endif
#include "cj_define.h"
#include "cj_errmanager.h"
/*刪除字符串結尾的空格*/
extern void CJSTRTrim(char * v_str);
/*刪除字符串開頭的空格*/
extern void CJSTLTrim(char * v_str);
/*刪除字符串頭、尾的空格*/
extern void CJSTAllTrim(char * v_str);
/*通過在字符串結尾添加空格,擴展字符串到指定長度*/
extern void CJSTRPad(char * v_str,int v_cnt);
/*通過在字符串開頭添加空格,擴展字符串到指定長度*/
extern void CJSTLPad(char * v_str,int v_cnt);
/*將字符串轉換為大寫*/
extern void CJSTUpper(char * v_str);
/*將字符串轉換為小寫*/
extern void CJSTLower(char * v_str);
/*刪除字符串中所有空格*/
extern void CJSTATrim2(char * v_str);
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -