Overview
| Artifact ID: | b91ef6c62ae916305c0a578ebeb879acc9e10fdf |
|---|---|
| Ticket: | 2845214fffffffffffffffffffffffffffffffff
Malfunction of "string trimright" with certain strings |
| User & Date: | jestone on 2009-08-26 22:27:04 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The following script produces incorrect output for "stringb": set stringa "teststring_a.pdb" set stringb "teststring_b.pdb" set outa [string trimright $stringa ".pdb"] set outb [string trimright $stringb ".pdb"] puts "$stringa -> $outa" puts "$stringb -> $outb" With several recent Tcl versions, I get this output: teststring_a.pdb -> teststring_a teststring_b.pdb -> teststring_ I would instead, expect this output to be correct: teststring_a.pdb -> teststring_a teststring_b.pdb -> teststring_b
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jestone"
- subsystem changed to: "None"
- title changed to:
Malfunction of "string trimright" with certain strings
- type changed to: "Bug"