Remove every space EXCEPT leading spaces

I need to remove every spaces from a String EXCEPT leading spaces. I have some strings that look like this : ” h ello” And I am trying to achieve this : ” …

How can I trim beginning and ending double quotes from a string?

I would like to trim a beginning and ending double quote (“) from a string. How can I achieve that in Java? Thanks!