|
int | XLALStringPrint (char *s, size_t n, const char *fmt,...) _LAL_GCC_PRINTF_FORMAT_(3 |
|
int char * | XLALStringAppend (char *s, const char *append) |
| Like strcat but dynamically reallocates string with LALRealloc. More...
|
|
char * | XLALStringAppendFmt (char *s, const char *fmt,...) _LAL_GCC_PRINTF_FORMAT_(2 |
|
char char * | XLALStringDuplicate (const char *s) |
| Like strdup but uses LAL allocation routines (free with LALFree). More...
|
|
size_t | XLALStringCopy (char *dst, const char *src, size_t size) |
| Copy sources string src to destination string dst. More...
|
|
size_t | XLALStringConcatenate (char *dst, const char *src, size_t size) |
| Concatenate sources string src to the end of destination string dst. More...
|
|
int | XLALStringToLowerCase (char *string) |
| Turn a string in-place into lowercase without using locale-dependent functions. More...
|
|
int | XLALStringToUpperCase (char *string) |
| Turn a string in-place into uppercase without using locale-dependent functions. More...
|
|
int | XLALStringCaseCompare (const char *s1, const char *s2) |
| Compare two strings, ignoring case and without using locale-dependent functions. More...
|
|
int | XLALStringNCaseCompare (const char *s1, const char *s2, size_t n) |
| Compare the first N characters of two strings, ignoring case and without using locale-dependent functions. More...
|
|
char * | XLALStringCaseSubstring (const char *haystack, const char *needle) |
| Locates substring needle in string haystack, ignoring case and without using locale-dependent functions. More...
|
|
char * | XLALStringToken (char **s, const char *delim, int empty) |
| Return the next token delimited by any character in 'delim' from the string 's', which is updated to point just pass the returned token. More...
|
|
char * | XLALStringTranslate (char *s, int(*f)(int, void *), void *param) |
| Return the string 's' applying the function 'f(c, param)' to all characters 'c'. More...
|
|
char * | XLALStringStripChars (char *s, int(*f)(int)) |
| Return the string 's' with all characters for which 'f()' is true removed. More...
|
|
char * | XLALStringKeepChars (char *s, int(*f)(int)) |
| Return the string 's' with all characters for which 'f()' is false removed. More...
|
|
char * | XLALStringReplaceChar (char *s, const int from, const int to) |
| Return the string 's' with all characters 'from' replaced with 'to'. More...
|
|