Newbie string issue

  • Thread starter Thread starter Y a h y a
  • Start date Start date
Y

Y a h y a

Guest
Hi

In my token string I am getting extra \" on both ends and this fails subsequent calls to remote API for data. Even though I am using

oauthToken1 = oauthToken2.Replace("\\\"", "");



to strip \" from both ends. Screen 1 below.

The Output window however shows string fine. Screen 2 below.

At present I manually edit out the \" from both ends in Watch window and get the subsequent API calls to succeed.

How can I get rid of \" on both ends please and why do they appear in the first place?

Thanks

Regards


Screen 1

1616869.png


Screen 2

1616870.png

Continue reading...
 
Back
Top