new strops_remove_at_pos_char_inplace
This commit is contained in:
3
strops.h
3
strops.h
@ -4,10 +4,8 @@
|
||||
#include <stddef.h>
|
||||
|
||||
/*
|
||||
ATTENTION! THIS LIBRARY CURRENTLY LEAKS MEMORY!
|
||||
Functions that return char*, return a new heap-allocated string.
|
||||
The user of this library is responsible for freeing the memory of the result.
|
||||
No function modifies the input string. The input string is copied at the beginning of a function.
|
||||
Only 7-Bit Ascii is supported.
|
||||
*/
|
||||
|
||||
@ -23,6 +21,7 @@ int strops_is_uppercase(const char* string);
|
||||
|
||||
char* strops_insert_at_pos_string(const char* string, const char* string_to_insert, ull_t pos);
|
||||
char* strops_remove_at_pos_char(const char* string, ull_t pos);
|
||||
void strops_remove_at_pos_char_inplace(char* string, ull_t pos);
|
||||
|
||||
char* strops_trim_right_whitespace(const char* string);
|
||||
char* strops_trim_left_whitespace(const char* string);
|
||||
|
Reference in New Issue
Block a user