vallesm77_95699
Feb 14, 2012Nimbostratus
foreach v11
hello,
I want to check in dataGroup the correspondence between URI and all records to my DataGroup
foreach entry [class get $ActionBasedOnUrl] {
log local0. "$theurl starts_with [getfield $entry " " 1]"
if { $theurl starts_with [getfield $entry " " 1]} {
set new_len [string length [getfield $entry " " 1]]
if {$new_len > $match_len} {
set myrow $entry
set match_len $new_len
}
}
}
if { $theurl starts_with [getfield $entry " " 1]} don't work because [getfield $entry " " 1] return always the record with de prefix"{"
Tue Feb 14 14:10:11 CET 2012 info tmm tmm[6817] Rule /Common/WLS : / starts_with {/
How to get the record without the prefix " { " ?
Thanks