In Json, which I parse, in some variables there is a space (difficult to fix), for example: {"Name": "Jon"}. How can it be removed later in the variable programmatically?

  • 3
    See String.TrimEnd - Yaant

1 answer 1

Can be removed using String.Replace(" ",""); You can use String.TrimEnd(' '); as already said yaant