Help for this page

Select Code to Download


  1. or download this
    @substr = unpack "A$size" x ( 1 + length( $str ) / $size ), $str;
    
  2. or download this
    @substr = unpack "A$size" x POSIX::ceil( length( $str ) / $size ), $st
    +r;