I have to remove @ from a string i used .replace but it is not working please find attached image
Hi @Alok_Dwivedi ,
That is not actually a part of the string, its just how the bot interprets long strings.
If you were to log it onto the console, you will notice that the @ disappears.
Could you give that a try, using the Log Message Activity?
By the way, if you were referring to the newline, you can eliminate it using this:
System.Text.RegularExpressions.Regex.Replace(str_variable,"^\n",String.Empty)
Kind Regards,
Ashwin A.K
that “@” doest not be inside you string, if you take a look it is outside, all you need to do is to add a .trim at the end of your variable and thats all.
Hope it helps
best regards!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.