For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Squeak's avatar
Squeak
Icon for Cirrus rankCirrus
May 26, 2020
Solved

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...
  • Grumpy_Cat's avatar
    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