Overview
| Artifact ID: | 4c5bf8f1f569b95f9ba85ca817a85bf3b2d98e441b87af2762c0353307314e28 |
|---|---|
| Ticket: | 8cd74c5cd2e93ad82b6913847a08381977eaefc3
2-argument string toupper/tolower/totitle doesn't work as documented |
| User & Date: | jan.nijtmans on 2025-07-12 16:36:22 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
According to the documentation: <pre> If first is specified, it refers to the first char index in the string to start modifying </pre> The documentation doesn't specify what happens if _last_ is not specified, but this suggests that modification of the string will be done until the end (just as when neither _first_ and _last_ are specified). That's not what happens: <pre> $ tclsh8.6 % string tolower ABC 1 AbC </pre> Reading the documentation, I would expect "Abc" as the answer. So, either the documentation or the implementation should change. I'm not 100% sure, but I'm leaning towards changing the documentation.
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
2-argument string toupper/tolower/totitle doesn't work as documented
- type changed to: "Bug"