Forum Discussion
JRahm
Feb 28, 2007Admin
ah, good catch. So would indexing the first two values be more or less expensive in cycles than regsub?
set myLocation [split [HTTP::header value Location] ":"]
HTTP::header replace Location [lindex $myLocation 0]:[lindex $myLocation 1]/