Help for this page

Select Code to Download


  1. or download this
    $foo = entire string (say 100+ characters);
    if {$foo contains a comma within the 15th thru 25th character from the
    + left then
    ...
    };
    replace all commas in $foo with "\t"; #replace all commas with tabs
    replace all "+" with commas; # replace all plus-signs with commas
    
  2. or download this
    $foo =~ s/\s/\\g;