Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 875ae8b0103dbfe45594dd1ab182c7c367d4d568
Ticket: 218144ffffffffffffffffffffffffffffffffff
string trimright trims extra characters
User & Date: nobody on 2000-10-26 00:53:43
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 2103 Bug
    Version: 8.0.5
    SubmitDate: '1999-05-19'
    LastModified: '1999-08-08'
    Severity: MED
    Status: Closed
    Submitter: pat
    ChangedBy: hobbs
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '1999-08-08'
    
    
    Name:  Benjamin Alfred Bailey
    email:  [email protected]
    Support:  None
    Severity:  3
    OperatingSystem:  Sun Solaris
    Synopsis:  string trimright trims extra characters
    
    ReproducibleScript:
        set material magnesium.mat
        set $material [string trimright .mat]
        
    
    ObservedBehavior:
        $material is set to magnesiu
        
    
    DesiredBehavior:
        $material should be set to magnesium
        
    
    Comments:
        Running on Sun Solaris and Windows NT 4.0
    
    
    This is the expected behavior, as documented.  The trim*
    methods interprets the given string as a SET of chars to
    trim, and trims each in any order until none are found.
    Thus the extra 'm' is removed because it is in this set.
    The user wants either [string range], or more appropriate
    for this case [file root]. 
    -- 08/08/1999 hobbs
    
  4. foundin changed to: "final: 8.0.5"
  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: "string trimright trims extra characters"
  11. type changed to: "Bug"