Help for this page

Select Code to Download


  1. or download this
    ($1,$2) = unpack 'x23 A15 x10 a10', $var;
    
  2. or download this
    $var =~ m[^.{23}(.{15}}.{10}(.{10})];
    
  3. or download this
    $1 = substr $var, 23, 15;
    $2 = substr $var, 28, 10;
    
  4. or download this
    ($1,$2) = unpack 'x23 a15 X10 a10', $var;
    
  5. or download this
    $var =~ m[(?=.{23}(.{15}))(?=.{28}(.{10}))];