Forum Discussion
Esa_Kuusisto_27
Nimbostratus
Nov 21, 2007Best way to get one part of the url to variable
Hi all
I have problem getting one part of the url to variable. I need example test variable and contents of the variable I can get from url. I always need the first part from the url betwee...
hoolio
Cirrostratus
Nov 23, 2007If you want to just replace one string in the URI with another, you could use string map (Click here😞
when HTTP_REQUEST {
HTTP::uri [string map {find replace} [HTTP::uri]
}A string command would be more efficient than a regex based one.
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
