home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 September
/
Simtel20_Sept92.cdr
/
msdos
/
turbo_c
/
tc130.arc
/
STRIP.DOC
< prev
next >
Wrap
Text File
|
1987-08-20
|
588b
|
39 lines
NAME
strip -- strip a newline from a string
SYNOPSIS
void strip(str);
char *str;
DESCRIPTION
If the specified string terminates with a newline (\n)
character, this function will replace the character with
a NULL.
EXAMPLE
char str[] = "This is a string\n";
strip(str);
the newline is stripped from str
This function is found in SMTCx.LIB for the Turbo-C Compiler