Help for this page

Select Code to Download


  1. or download this
      $TEMP = "\@0 A1 \@1 A12";
      $string = "AAAA";
      $res = pack($TEMP, "V", $string);
      print "$res\n";
    
  2. or download this
      pack($TEMP, "V", sprintf("%12s", "$string"));