Brent B. Powers > String-Strip-1.01 > String::Strip

Download:
String-Strip-1.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 1.01   Source   Latest Release: String-Strip-1.02

NAME ^

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

^

SYNOPSIS ^

  use String::Strip;

  ...

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

DESCRIPTION ^

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.

AUTHOR ^

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.

SEE ALSO ^

perl(1).

syntax highlighting: