Forum Discussion

BaltoStar_12467's avatar
Sep 12, 2013

strip-out string up to 2nd match char

f5 BIG-IP 11.4.0 LTM VE

 

iRule question

 

I need to strip-out the portion of a string up to ( but not including ) the 2nd occurrence of a character.

 

EXAMPLE : [HTTP:path] = /images/V00/icons/myicon.ico

 

What string manipulation would return "/images" ?

 

Thanks.

 

2 Replies