Forum Discussion
Martin_Kaiser_1
Nimbostratus
Oct 20, 2005using getfield to split up URIs
Hi there,
can anyone of you show me the correct syntax for using the function getfield in an iRule?
What I want to do is split up an URI like "/webstart/portal/customer_id/some/more/fie...
Martin_Kaiser_1
Nimbostratus
Oct 25, 2005Hi,
I've got two more questions:
1. will getfield return the whole string if the field delimiter does not exist and the field to return is number one? E.g.:
getfield "/some/path/to/ressource/" "?" 5Will this return "ressource" ?
2. How exactly does URI:query work? The manual only states "extracts the query part from the URI". I'm not really a webhosting person, but more of a networks guy, so "query part" does not really tell me that much at all...
Thanks and regards,
Martin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
