Sha256: afc1e9defdb999de58efe139a7b188a40fa949411ca27ff44326d1bf72008f09
Contents?: true
Size: 640 Bytes
Versions: 22
Compression:
Stored size: 640 Bytes
Contents
/* Added methods for string manipulation */ #ifndef STRING_EXTRAS_H #define STRING_EXTRAS_H #include "../deps/uthash/utstring.h" /* all for str_replace */ #include <stdio.h> #include <string.h> #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif /* Remove the final character in a string */ void mtex2MML_remove_last_char(char* str); /* Remove the first character in a string */ void mtex2MML_remove_first_char(char* str); /* replace a substr in a string with a replacement */ char * mtex2MML_str_replace(char *string, const char *substr, const char *replacement); #ifdef __cplusplus } #endif #endif /* ! STRING_EXTRAS_H */
Version data entries
22 entries across 22 versions & 1 rubygems