Help for this page

Select Code to Download


  1. or download this
         How do I strip blank space from the beginning/end of a
         string?
    ...
    
                 s/^\s+//;
                 s/\s+$//;
    
  2. or download this
    use Benchmark 'cmpthese';
    
    ...
    [16:10] <Joe> capt_repl 271691/s        4%        --       -3%      -6
    +8%
    [16:10] <Joe> rx_rx     279271/s        7%        3%        --      -6
    +7%
    [16:10] <Joe> last      859023/s      228%      216%      208%        
    +--