Forum Discussion
Christopher_J_B
Nimbostratus
Sep 22, 2010Attempting to remove newline/spaces from a HTTP:payload without sucess
I have an irule that parses http payload that contain xml using the findstr function; the problem is some vendors xml requests have spaces and/or newline characters which getting difficult to account ...
Christopher_J_B
Nimbostratus
Sep 23, 2010Thanks for the assist - this was correct ->
set tmp [findstr [string map {" " "" "\n" ""} [HTTP::payload]] "<" 16 ":"]
Unforuntalty didnt solve my problem, but this does help - thank you.
Ahh I cannot wait when JSON is favored over XML
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