Forum Discussion
hooleylist
Jun 08, 2012Cirrostratus
I think you'd need to list the exact number of digits that you want to match when using string match. If you use scan, you can match on any number of digits using %[0-9]:
if {[scan [getfield [HTTP::uri] "/" 4] {%[0-9]} match]==1}{
Parsed all digits
} else {
Did not parse all digits
}
Aaron