Low-level string functions

These functions are used for string manipulation, that's the '\0' terminated array of buffers. All of these functions are called same as in C, in the difference it has a "low_str_" prefix between each function. The following functions are used for low-level string manipulation. These functions are not used often because Qube has great support for string parsing and string manipulation in High-level API. Anyway, if you want to platform your C program that used C string functions, you can use followings :

l_int		low_str_sprintf (
		l_text  buffer, // Storage location for output
		cl_text format, // Format-control string
		[, argument] ...   // Optional arguments
);
l_int		low_str_vsprintf (
		l_text buffer, // Storage location for output
		cl_text format, // Format-control string
		va_list arguments // Pointer to list of arguments
);

l_int		low_str_isxdigit ( 
		l_int chr // Integer to test
);

l_int		low_str_isdigit ( 
		l_int chr // Integer to test
);

l_int		low_str_isspace (
		l_int chr // Integer to test
);

l_int		low_str_tolower ( 
		l_int chr // Integer to test
);

l_int		low_str_toupper ( 
		l_int chr // Integer to test
);

l_text		low_str_strlwr ( 
		l_text string // Null-terminated string to convert to lowercase
);

l_text 		low_str_strupr ( 
		l_text string // String to capitalize
);

l_size_t		low_str_strlen ( 
		cl_text string // Null-terminated string
);

l_text		low_str_strpbrk ( 
		cl_text s1, // Null-terminated, searched string
		cl_text set // Null-terminated character set
);

l_size_t 		low_str_strcspn ( 
		cl_text s1, // Null-terminated searched string
		cl_text set // Null-terminated character set
);

l_text 		low_str_strdup ( 
		cl_text src // Null-terminated source string
);

l_text 		low_str_strstr ( 
		cl_text s1, // Null-terminated string to search
		cl_text s2 // Null-terminated string to search for
);

l_text 		low_str_strncpy ( 
		l_text s1, // Destination string
		cl_text s2, // Source string
		l_size_t max // Number of characters to be copied
);

l_text 		low_str_strcpy ( 
		l_text s1, // Destination string
		cl_text s2 // Null-terminated source string
);

l_text 		low_str_strchr ( 
		cl_text s1, // Null-terminated source string
		l_int ch // Character to be located
);

l_text 		low_str_strrchr ( 
		cl_text s1, // Null-terminated string to search
		l_int ch // Character to be located
);

l_text 		low_str_strncat ( 
		l_text s1, // Null-terminated destination string
		cl_text s2, // Null-terminated source string
		l_size_t max // Number of characters to append
);

l_size_t 		low_str_strspn ( 
		cl_text s1, // Null-terminated string to search
		cl_text set // Null-terminated character set
);

l_text 		low_str_strcat ( 
		l_text s1, // Null-terminated destination string
		cl_text s2 // Null-terminated source string
);
l_int		low_str_strcmp ( 
		cl_text s1, 
		cl_text s2 
); 

l_int		low_str_stricmp ( 
		cl_text s1, // Null-terminated string to compare
		cl_text s2 // Null-terminated string to compare
);

l_int		low_str_strncmp ( 
		cl_text s1, // Null-terminated string to compare
		cl_text s2, // Null-terminated string to compare
		l_size_t max // Number of characters to compare
);

l_int		low_str_strnicmp  ( 
		cl_text s1, // Null-terminated string to compare
		cl_text s2, // Null-terminated string to compare
		l_size_t max // Number of characters to compare
);

l_double 		low_str_strtod ( 
		cl_text s, // Null-terminated string to convert 
		l_text *endp // Pointer to character that stops scan
);

l_text 		low_str_strtok ( 
		l_text s1, // String containing token(s)
		cl_text s2 // Set of delimiter characters
);

l_long 		low_str_strtol ( 
		cl_text s, // Null-terminated string to convert 
		l_text *endp, // Pointer to character that stops scan
		l_int base // Number base to use
);

l_big 		low_str_strtoll  ( 
		cl_text s, // // Null-terminated string to convert
		l_text *endp, // Pointer to character that stops scan
		l_int base // Number base to use
);

l_text 		low_str_itoa (
		l_int value, // Number to be converted
		l_text string, // String result
		l_int radix // Base of value; must be in the range 2 – 36
);