src/inc/common.h 1.156
1.156 2009/10/20 19:16:33 tdreszer
Added dyStringCreate which will create a new dyString from printf style content.
Index: src/inc/common.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/common.h,v
retrieving revision 1.155
retrieving revision 1.156
diff -b -B -U 4 -r1.155 -r1.156
--- src/inc/common.h 24 Sep 2009 22:21:42 -0000 1.155
+++ src/inc/common.h 20 Oct 2009 19:16:33 -0000 1.156
@@ -695,8 +695,12 @@
/* Return string between start and end strings, or NULL if
* none found. The first such instance is returned.
* String must be freed by caller. */
+char * findWordByDelimiter(char *word,char delimit, char *line);
+/* Return pointer to first word in line matching 'word' and delimited
+ by 'delimit'. Comparison is case sensitive. Delimit of ' ' uses isspace() */
+
boolean endsWith(char *string, char *end);
/* Returns TRUE if string ends with end. */
char lastChar(char *s);