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
Strip(3) User Contributed Perl Documentation Strip(3)

String::Strip - Perl extension for fast, commonly used, string operations

  use String::Strip;

  ...

  StripLTSpace($a);
  StripTSpace($a);
  StripLSpace($a);
  StripSpace($a);

StripLTSpace - Removes Leading and Trailing spaces from given string

StripTSpace - Removes Trailing spaces from given string

StripLSpace - Removes Leading spaces from given string

StripSpace - Removes all spaces from given string

I do these things often, and these routines tend to be about 35% faster than the corresponding regex methods.

http://search.cpan.org/~phred

Brent B. Powers (B2Pi), Powers@B2Pi.com

Copyright(c) 1999,2000 Brent B. Powers. All rights reserved. This program is free software, you may redistribute it and/or modify it under the same terms as Perl itself.

perl(1).
2012-02-14 perl v5.32.1

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

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