Is there a one-liner for this?

From: Phil Powell (soazine_at_erols.com)
Date: 05/30/04

  • Next message: Jeff Godfrey: "Re: Is there a one-liner for this?"
    Date: 30 May 2004 11:20:52 -0700
    
    

    [CODE]
     set lob [lindex $cgiDisplayPathList 0]
     regsub {^/} $lob {} lob
     set cgiDisplayPathList [lreplace $cgiDisplayPathList 0 0 $lob]
    [/CODE]

    The simple thing I have to do is lob off the '/' from the very first
    element in a list, and I'm hoping for a simple one-liner for this, any
    ideas?

    Thanx
    Phil


  • Next message: Jeff Godfrey: "Re: Is there a one-liner for this?"