String operation helpers
[MiniGUI-Processes specific functions]


Function Documentation

char * strnchr ( const char *  s,
size_t  n,
int  c 

Locates character in the first n characters of string s.

s The pointer to the string.
n The number of first characters will be searched.
c The expected character.
Returns a pointer to the first occurrence of the character c in the string s.
See also:
char * strtrimall ( char *  src  ) 

Deletes all space characters.

This function deletes the blank space, form-feed('\f'), newline('\n'), carriage return('\r'), horizontal tab('\t'),and vertical tab('\v') in the head and the tail of the string.

src The pointer to the string.
Returns a pointer to the string.
int substrlen ( const char *  text,
int  len,
int  delimiter,
int *  nr_delim 

Locates a substring delimited by one or more delimiters in the first len characters of string text.

text The pointer to the string.
len The number of first characters will be searched.
delimiter The delimiter which delimites the substring from other.
nr_delim The number of continuous delimiters will be returned through this pointer.
The length of the substring.
See also:
Generated on Thu Apr 7 15:58:39 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3