HTML::Trim

HTML trimmer
Download

HTML::Trim Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • cho45
  • Publisher web site:
  • http://search.cpan.org/~satoh/

HTML::Trim Tags


HTML::Trim Description

HTML::Trim is a Perl module for trimming text by the number of character length or visual width (consider full-width characters).HTML::Trim::trim($html, $length, $terminal) Trim $html by character $length. When result is clipped, add $terminal to result HTML.HTML::Trim::vtrim($html, $width, $terminal) Trim $html by character $width (half-width = 1). When result is clipped, add $terminal to result HTML.SYNOPSIS use HTML::Trim; my $trimmed = HTML::Trim::vtrim('foo bar < a href="/" >baz< /a > fumino', 10, '…'); #= > 'foo bar < a href="hoge" >b< /a >...'Product's homepage


HTML::Trim Related Software