STRSTRIPSPACE(3)

NAME
strstripspace - 删除给定字符串前后的空格、制表符、换行符

SYNOPSIS

#include <cstring-extension.h>

  Functions

  static void strstripspace (char * str) [inline], [static]

删除给定字符串前后的空格、制表符、换行符，注意该操作会修改原字符串

Parameters
    str 需要进行strip操作的字符串指针

Detailed Description

接口的主要功能是删除给定字符串前后的空格、制表符、换行符，注意该操作会修改原字符串

CONFORMING TO
These functions are as per the withdrawn POSIX.1e draft specification. The following functions are Linux extensions: strstrip(), strstripblank(), strskipspace(), strskipblank(), str2upper(), str2lower(), strfirstof(), strlastof(), strstartswith(), strstartswith_nocase(), strendwith(), strendwith_nocase(), strcounts() and strsplit().

SEE ALSO
strstrip(3), strstripblank(3), strskipspace(3), strskipblank(3), str2upper(3), str2lower(3), strfirstof(3), strlastof(3), strstartswith(3), strstartswith_nocase(3), strendwith(3), strendwith_nocase(3), strcounts(3) and strsplit(3).

Author

Generated automatically by Doxygen for cstring-extension.h from the source code.