Help for this page

Select Code to Download


  1. or download this
    $string =~ s/^(.{15}).+$/$1/;
    
  2. or download this
    $string =~ s/^(.{1,15})\s*.*$/$1.../;