Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b52c11614b7719aaec557d90a34e69cc4efdb7a6
Ticket: 219378ffffffffffffffffffffffffffffffffff
[string range] to take index list
User & Date: welch on 2000-12-06 14:27:31
Changes

  1. icomment:
    The "eval" command provides a general way to split arguments.
    
    eval [list string range $string] $list_of_two_indices
    or
    eval {string range $string} $list_of_two_indices
    
    I'm inclined to agree with the original request, however, because the the 
    use of eval may add more overhead than you want with large strings.
    It'd be worth measuring the eval approach to see if it's worth a special case.
    
    
  2. login: "welch"
  3. mimetype: "text/plain"
  4. username: "welch"