Help for this page

Select Code to Download


  1. or download this
    s/^(.{6,}?)\s+\z/$1/s;
    s/^\s*(.{6}).*\z/$1/s;
    
  2. or download this
    s/(?<=.{6})\s+\z//s;
    
  3. or download this
    s/.{6}\K\s+\z//s;     # Req 5.10
    
  4. or download this
    s/^\s+(?=.{6})//s;
    s/(?<=^.{6}).*\z//s;
    
  5. or download this
    s/^\s+(?=.{6})//s;
    s/(?<=.{6}).*\z//s;
    
  6. or download this
    s/^\s+(?=.{6})//s;
    s/^.{6}\K.*\z//s;     # Req 5.10