String utilities. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <stdarg.h>
#include <ctype.h>
#include "splt.h"
Go to the source code of this file.
Functions | |
int | splt_su_append (char **str, const char *to_append,...) |
int | splt_su_append_str (char **str, const char *to_append,...) |
void | splt_su_clean_string (splt_state *state, char *s, int *error) |
char * | splt_su_convert (const char *str, splt_str_format format, int *error) |
int | splt_su_copy (const char *src, char **dest) |
void | splt_su_cut_extension (char *str) |
char * | splt_su_cut_spaces (char *c) |
void | splt_su_cut_spaces_from_end (char *c) |
char * | splt_su_format_messagev (splt_state *state, const char *message, va_list ap) |
void | splt_su_free_replace (char **str, char *replacement) |
char * | splt_su_get_file_with_output_path (splt_state *state, char *filename, int *error) |
char * | splt_su_get_fname_with_path_and_extension (splt_state *state, int *error) |
const char * | splt_su_get_fname_without_path (const char *filename) |
char * | splt_su_get_fname_without_path_and_extension (const char *filename, int *error) |
char * | splt_su_get_formatted_message (splt_state *state, const char *message,...) |
int | splt_su_is_empty_line (const char *line) |
void | splt_su_keep_path_and_remove_filename (char *path) |
void | splt_su_line_to_unix (char *line) |
char * | splt_su_replace_all (const char *str, char *to_replace, char *replacement, int *error) |
void | splt_su_replace_all_char (char *str, char to_replace, char replacement) |
int | splt_su_set (char **str, const char *to_append,...) |
const char * | splt_su_skip_spaces (const char *c) |
void | splt_su_str_cut_last_char (char *str) |
int | splt_su_str_ends_with (const char *str1, const char *str2) |
int | splt_su_str_line_has_digit (const char *str) |
double | splt_su_str_line_to_double (const char *str) |
char * | splt_su_trim_spaces (char *c) |
String utilities.
Definition in file string_utils.c.