Forum Discussion
stucky101_88485
Nimbostratus
Feb 23, 2013We have "getfield" I need "trimfield"
Gurus
This is one of those things you'd think is super simple but I've been pulling my hair out.
There appear to be many ways to trim any occurence of a char/string within another string li...
stucky101_88485
Nimbostratus
Feb 23, 2013Kevin
/rma/rma was just something to prove a point. I don't know what any given uri will look like but I have seen
several occurrances in one uri of the same string that I was trimming so I used the above to clarify the problem.
I wanted a solution where I simply cut out the first "/rma/" and not worry what comes after that.
I had tried
string map {"/rma/" ""} [HTTP::uri] since I really wanna trim but ran in to the same issue.
Thanks for you reply though. I just saw there is another one that looks promising.
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