Help for this page

Select Code to Download


  1. or download this
    my $text = 'The world is all that is the case';
    my $sniplength = 10; 
    my $truncated = substr($text,0,index($text,' ',$sniplength));