Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a4debf82011a7ee6a6d2e9a3de2aaae14c92f1a7
Ticket: 218249ffffffffffffffffffffffffffffffffff
the string trimleft, trim commands don't work correctly.
User & Date: nobody on 2000-10-26 00:55:02
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2833 Bug
    Version: 8.2
    SubmitDate: '1999-09-20'
    LastModified: '1999-09-20'
    Severity: MED
    Status: Closed
    Submitter: techsupp
    ChangedBy: hobbs
    OS: Windows 95
    Machine: X86
    FixedDate: '2000-10-25'
    ClosedDate: '1999-09-20'
    
    
    Name:
    jeff bandur
    
    ReproducibleScript:
    the following can be typed into the console.
        example 1
        set var1 .listboxtrade
        string trimleft $var1 .listbox
        the answer should be 'trade'
        I get  'rade' returned
        
        example 2
        set var2 .listboxaddress
        string trim $var2 .listbox
        the correct answer should be 'address'
        I get 'addre' returned
    
    
    
    This is user error.  This is the defined behavior of string trim,
    which trims every instance of the given chars.  The user wants
    either 'regsub' or 'string map'. 
    -- 09/20/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    the string trimleft, trim commands don't work correctly.
    
  11. type changed to: "Bug"