Trailing spaces after data
I have a requirement in my code where I need to keep trailing spaces after the value.
Say, the value is ABC with 2 spaces before ABC and 4 spaces after ABC.
' ABC '
I want to remove the spaces before ABC but want the spaces that exist after ABC.