NAME

YVDHOVE::String - This Perl module provides "String" functions for the YVDHOVE framework

SYNOPSIS

  use YVDHOVE::String qw(:all);
  
  my $string = "  \t  Hello world!   ";
  
  print trim($string) ."\n";
  print ltrim($string)."\n";
  print rtrim($string)."\n";

DESCRIPTION

This Perl module provides "String" functions for the YVDHOVE framework

EXPORT

None by default.

METHODS

trim(STRING);

trim function to remove whitespace from the start and end of the string

ltrim(STRING);

trim function to remove leading whitespace

rtrim(STRING);

trim function to remove trailing whitespace

SEE ALSO

See http://search.cpan.org/search?query=YVDHOVE&mode=all

AUTHORS

Yves Van den Hove, <yvdhove@users.sourceforge.net>

BUGS

See http://rt.cpan.org to report and view bugs.

COPYRIGHT AND LICENSE

Copyright (C) 2007 by Yves Van den Hove, <yvdhove@users.sourceforge.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.x or, at your option, any later version of Perl 5 you may have available.