Bioplib
Protein Structure C Library
|
String utilities. More...
Go to the source code of this file.
Macros | |
#define | MAXWORD 8 |
Functions | |
char * | blCollapseSpaces (char *inText) |
char * | blStrdup (char *instr) |
String utilities.
This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.
The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.
The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.
See documentation for details
Definition in file stringutil.c.
#define MAXWORD 8 |
Definition at line 83 of file stringutil.c.
char* blCollapseSpaces | ( | char * | inText | ) |
[in] | *inText | Input text string |
Takes a string and collapses multiple spaces down to a single space Equivalent of perl 's/+/ /g' The input string is unmodified and malloc()s the output.
28.04.15 Original By: ACRM
Definition at line 108 of file stringutil.c.
char* blStrdup | ( | char * | instr | ) |
[in] | instr | A string |
An implementation of SVr4, 4.3BSD, POSIX.1-2001 strdup() which is not standard ANSI C
Definition at line 157 of file stringutil.c.