GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NE_SHAVE (3)

.ds Aq ’

NAME

ne_shave - trim whitespace from a string

CONTENTS

SYNOPSIS

#include <ne_string.h>

char *ne_shave(char *str, const char *whitespace);

DESCRIPTION

ne_shave returns a portion of str with any leading or trailing characters in the whitespace array removed. str may be modified. Note that the return value may not be equal to str.

EXAMPLES

The following code segment will output "fish":

char s[] = ".!.fish!.!";
puts(ne_shave(s, ".!"));

AUTHOR

Joe Orton <neon@lists.manyfish.co.uk>

Author.

COPYRIGHT

Search for    or go to Top of page |  Section 3 |  Main Index


neon 0.30.1 NE_SHAVE (3) 23 September 2014

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.