Forum Discussion
Michael_Yates
Aug 16, 2013Nimbostratus
Hi Mark,
I agree that Nathan's suggestion of using string range will work, but will require you to count the characters that you want to remove.
If you are looking for something easier I would suggest "string map". Something like this:
"HTTP::uri [string map {"/mail1" "" "/mail2" ""} [HTTP::uri]]"
You've got lots of options :-)
- natheAug 16, 2013CirrocumulusThanks Michael - the daft thing is I use string map in one of my irules at work!!! More haste, less speed in responding I think.