Remove quote from string with Trim

studio
string

#1

Hi,

how can I remove quote from a string?
This is not working … can anybody tell me what is wrong?
fileString.Trim({""""c})

I want to remove several qutoes " from a string, can this be accomplished in another way?


#2

Hi,

You can use .Replace for this.

fileString.Replace("""","")


How do I put " in quotes?
#3

Hi,

thanks, that works!

But any idea whats wrong with the Trim functions?


#4

Hi,

From my understanding, .Trim is only used to remove all white spaces on the front and end of a string. It’s like .TrimEnd or .TrimStart but for both ends. It’s useful to avoid human errors where a space or newline is left on the end of text.

Regards.