The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
WordN.c File Reference
#include <string.h>
#include "macros.h"

Go to the source code of this file.

Functions

void blWordN (char *string1, char *string2, int MaxChar)
 

Detailed Description

Version
V1.21
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

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.

Description:

Usage:

Revision History:

Definition in file WordN.c.

Function Documentation

void blWordN ( char *  string1,
char *  string2,
int  MaxChar 
)
Parameters
[in]*string1A string
[in]MaxCharMax characters to copy
[out]*string2A 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.

  • 22.06.92 Original based on Word()
  • 29.03.01 Changed to use KILLLEADSPACES() macro
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 122 of file WordN.c.