ProSoft Technology MVI69-ADMNET User Manual
Page 111
Advertising
MVI-ADMNET ♦ 'C' Programmable
WATTCP API Functions
'C' Programmable Application Development Module with Ethernet
Developer's Guide
ProSoft Technology, Inc.
Page 111 of 122
February 20, 2013
rip
Syntax
Char * rip( char *String );
Parameters
String
Array of character string.
Description
This function is used to strip out carriage return and line feed. If there are more
than one carriage return or line feed, the first one will be replace with 0 and the
rest of them will not be defined.
Return Value
Pointer to the new string.
Example
char s;
. . .
s = sock_dataready("This is a test\n\r");
printf("%s", s);
Advertising