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
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- 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 - foundin changed to: "obsolete: 8.2"
- 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:
the string trimleft, trim commands don't work correctly.
- type changed to: "Bug"