Help for this page

Select Code to Download


  1. or download this
    for (my $x=0;$x<length($string);$x++)
    {
    ...
       # substr($string,$x,1)=' ';  # or use this line instead
       }
    }
    
  2. or download this
    for (my $x=0;$x<length($string);$x++)
    {
      print ord(substr($string,$x,1)),"\t",substr($string,$x,1),"\n";
    }