Help for this page

Select Code to Download


  1. or download this
    @array = <>;
    
  2. or download this
    @array = <>;
    @array = map {  substr($_,0,$x)  } @array;
    ...
    #or in one step:
    
    @array = map {  substr($_,0,$x)  } <>;