String Utilities
[Utilities]
Detailed Description
- See iup_str.h
Functions | |
char * | iupStrDup (const char *str) |
int | iupStrEqual (const char *str1, const char *str2) |
int | iupStrEqualNoCase (const char *str1, const char *str2) |
int | iupStrEqualPartial (const char *str1, const char *str2) |
void | iupStrLineCount (const char *str, int *max_len, int *num_lin) |
const char * | iupStrNextLine (const char *str, int *len) |
int | iupStrCountChar (const char *str, int c) |
char * | iupStrCopyUntil (char **str, int c) |
char * | iupStrGetMemory (int size) |
void | iupStrLower (char *dstr, const char *sstr) |
int | iupStrGetRGB (const char *value, unsigned char *r, unsigned char *g, unsigned char *b) |
Function Documentation
|
Returns a copy of the given string. If str is NULL it will return NULL. |
|
Returns a non zero value if the two strings are equal. str1 or str2 can be NULL. |
|
Returns a non zero value if the two strings are equal but ignores case. str1 or str2 can be NULL. |
|
Returns a non zero value if the two strings are equal up to a number of characters defined by the strlen of the second string. str1 or str2 can be NULL. |
|
Returns the number of lines and the size of the largest line in a string. Detects also CR/LF pairs. |
|
Returns the a pointer to the next line and the size of the current line. Detects also CR/LF pairs. If str is NULL it will return NULL. |
|
Returns the number of repetitions of the character occours in the string. |
|
Returns a new string containing a copy of the string up to the character. The string is then incremented to after the position of the character. |
|
Returns a buffer with the specified size+1. |
|
Converts a string into lower case. |
|
Extract a RGB triple from the string. |