CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
utils_string.c File Reference
#include <stdlib.h>
#include "utils_string.h"
#include "memalloc.h"

Functions

pString string_new_step (size_t step)
 
pString string_new ()
 
pString string_new_with_string (const char *newstr)
 
void string_free (pString pstr)
 
void string_free_without_data (pString pstr)
 
void string_reset (pString pstr)
 
void string_add (pString pstr, const char *add)
 
void string_fadd (pString pstr, const char *msg,...)
 
void string_trim (pString pstr)
 
void string_chomp (pString pstr)
 
char * string_get (pString pstr)
 
int is_letter (char c)
 
int is_space (char c)
 
char * string_pchar_chomp (char *pstr)
 
int string_pchar_cmp_ignore_case (char *cmp1, char *cmp2)
 
pArrayList string_pchar_split (char *buf, char delim)
 
pArrayList string_pchar_space_split (char *buf)
 
void string_pchar_join_double (char *rtn, const char *sp, int argc, double *values)
 
void string_pchar_join (char *buf, char *stuff, int num, char **list)
 
pString string_join (const char *stuff, int num, char **list)
 

Function Documentation

int is_letter ( char  c)
int is_space ( char  c)
void string_add ( pString  pstr,
const char *  add 
)
void string_chomp ( pString  pstr)
void string_fadd ( pString  pstr,
const char *  msg,
  ... 
)
void string_free ( pString  pstr)
void string_free_without_data ( pString  pstr)
char* string_get ( pString  pstr)
pString string_join ( const char *  stuff,
int  num,
char **  list 
)
pString string_new ( )
pString string_new_step ( size_t  step)
pString string_new_with_string ( const char *  newstr)
char* string_pchar_chomp ( char *  pstr)
int string_pchar_cmp_ignore_case ( char *  cmp1,
char *  cmp2 
)
void string_pchar_join ( char *  buf,
char *  stuff,
int  num,
char **  list 
)
void string_pchar_join_double ( char *  rtn,
const char *  sp,
int  argc,
double *  values 
)
pArrayList string_pchar_space_split ( char *  buf)
pArrayList string_pchar_split ( char *  buf,
char  delim 
)
void string_reset ( pString  pstr)
void string_trim ( pString  pstr)