Overview
| Artifact ID: | 875ae8b0103dbfe45594dd1ab182c7c367d4d568 |
|---|---|
| Ticket: | 218144ffffffffffffffffffffffffffffffffff
string trimright trims extra characters |
| User & Date: | nobody on 2000-10-26 00:53:43 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "final: 8.0.5"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "string trimright trims extra characters"
- type changed to: "Bug"