Bioplib
Protein Structure C Library
|
Go to the source code of this file.
Functions | |
void | blWordN (char *string1, char *string2, int MaxChar) |
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.
Definition in file WordN.c.
void blWordN | ( | char * | string1, |
char * | string2, | ||
int | MaxChar | ||
) |
[in] | *string1 | A string |
[in] | MaxChar | Max characters to copy |
[out] | *string2 | A new string |
Removes leading spaces and extracts a space/tab delimited word. A maximum of MaxChar characters will be copied into the word. If necessary a terminating NULL will be added after MaxChar other characters. Thus MaxChar should always be at least 1 smaller than the size of string2.