char* qStrUnchar ( char *  str,
char  head,
char  tail 

Remove character from head and tail of the string.

str source string
head heading character
tail tailing character
a pointer of source string if rsuccessful, otherewise returns NULL
This modify source string directly.
   char *str = strdup("   \"hello world\"   ");
   qStrTrim(str); // to remove white spaces
   qStrUnchar(str, '"', '"'); // to unquote

Definition at line 99 of file qString.c.

Generated on Mon Mar 26 07:00:52 2018 for JSOC_Documentation by  doxygen