How can I delete spaces before only text:
" with spaces between"
I need:
"some text with spaces between"
All I have found it's text.replace(/\s/g, '')
but it doesn't work well:
"sometextwithspacesbetween"
and indexOf(' ') + 25
also isn't good solve, because I have a different text and number of spaces before it.
If it possible, help me please