Forum Discussion
Christopher_J_B
Nimbostratus
Nov 08, 2009Removing whitespace HTTP:payload
Parsing a XML POST and sending to specific pool based upon the call using findstr - my issue is sometimes I am getting XML calls with whitespace/newline or not.
Does a method/function...
hoolio
Cirrostratus
Nov 08, 2009Hi Christopher,
You can use string map (Click here) to do string substitutions: [string map [list " " "" "\n" ""] $str]
% set str {value with spaces
and
new lines}
% string map [list " " "" "\n" "" "with" "without"] $str
valuewithoutspacesandnewlines
Aaron
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
