I am copying to the system clipboard some text that has 4-5 spaces at the beginning of it, and I would like to remove those spaces before I paste the text again.
I did find this post which I think is the solution to my issue, however, due to my limited programming knowledge, I am not sure how to adapt the approach so that it simply removes only the spaces at the beginning of a sentence.
What I have missed to mention is that it is not just one word with white space at the beginning, it is a full sentence, so the text does contain other white spaces, I am not at home right now and canβt test the Trim Whitespace function. Will do as soon as I get home, will I be able to define which white spaces should be trimmed?
I.e. Trim only the white spaces at the beginning of the text.