Enigma 78 Posted November 29, 2010 Report Share Posted November 29, 2010 Is there a way to do a thing like this: this is a test to thisisatest Strip empty spaces in a string? Quote Link to post Share on other sites
pftg4 102 Posted November 29, 2010 Report Share Posted November 29, 2010 trim text Pftg4 Quote Link to post Share on other sites
Enigma 78 Posted November 29, 2010 Author Report Share Posted November 29, 2010 trim text Pftg4 I tried it but it does not work.As shown in the video it only strips the space for the first coming letter. Quote Link to post Share on other sites
Net66 54 Posted November 29, 2010 Report Share Posted November 29, 2010 I tried it but it does not work.As shown in the video it only strips the space for the first coming letter. Just use $replace. Andy Quote Link to post Share on other sites
Enigma 78 Posted November 29, 2010 Author Report Share Posted November 29, 2010 Just use $replace. Andy Hey Andy, How do you think to do that? $replace " " with what? Quote Link to post Share on other sites
Frank 177 Posted November 29, 2010 Report Share Posted November 29, 2010 Enigma, you would perform a replace with just a space in the first box, and select the $nothing for the second. I've attached a simple bot to give you an example. Frank remove spaces.ubot Quote Link to post Share on other sites
Enigma 78 Posted November 30, 2010 Author Report Share Posted November 30, 2010 Enigma, you would perform a replace with just a space in the first box, and select the $nothing for the second. I've attached a simple bot to give you an example. Frank remove spaces.ubot Thanks a bunch Frank!That did the trick.Appreciated. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.