Forum Discussion
Squeak
May 26, 2020Cirrus
Parse username from server response
Hi, I´m trying to parse a username from a response that I´m receiving from a external server. The complete response from the server· HTTP/1.1 200 OK Cache-Control: private Content-Type: appli...
- May 26, 2020
Hi Squeak,
You can use string map to strip the double quotes.
set strip_quotes [string map {\" {}} $parse_user]
Kind regards
Ben
Grumpy_Cat
Cirrus
Hi Squeak,
You can use string map to strip the double quotes.
set strip_quotes [string map {\" {}} $parse_user]
Kind regards
Ben
Squeak
May 26, 2020Cirrus
Hi,
I tried your solution and it worked!
Can you describe how this syntax {\" {}} removed the double quotes?
Thank you.
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