Hello, is there anyway I can do a stringreplace to remove multiple spaces in between words? I have a variable that prints: "test 12 one world ok bye now"
how do I reduce those spaces to just a single space between each words?
Thanks in advance...
strip 2+ spaces or more
Moderators: Dorian (MJT support), JRL
Re: strip 2+ spaces or more
To replace one or more spaces with just one space you can eg do:
Code: Select all
Let>text=test 12 one world ok bye now
RegEx>%SPACE%+,text,0,m,nm,1,%SPACE%,text
MDL>text
Re: strip 2+ spaces or more
awesome, thanks!