Hello,
Below code
set newuri2 [string trimleft "/status_cache/abcd" /status_cache]
log local0. "newuri: $newuri2"
gives output
$1
instead
$1
Any ideas why? Thanks in advanced for any help
/RD
Hello,
Below code
set newuri2 [string trimleft "/status_cache/abcd" /status_cache]
log local0. "newuri: $newuri2"
gives output
$1
instead
$1
Any ideas why? Thanks in advanced for any help
/RD
Robert - may i allow Jason to explain this better than i could. see iRules 101 - 14 - TCL String Commands Part 2
See if string range works better for you i.e.
set newuri2 [string range "/status_cache/abcd" 14 end]
Hope this helps,
N