Graham 0 Posted December 16, 2010 Report Share Posted December 16, 2010 Hi I'm new to ubot and slowly getting the hang of it. I've watched a number of the tutorials, and i'm using the latest version of ubot. I've managed to produce a list of figures but they contain , in them. I am building a keyword tool and need the commas removed and then to place items into alternate columns. I've watched the old keyword tutorial, but format is different in the latest version Quote Link to post Share on other sites
UBotBuddy 331 Posted December 16, 2010 Report Share Posted December 16, 2010 There are a couple of ways to do this. Can you give us a little more detail? Is the comma in a variable or a list item? Quote Link to post Share on other sites
Graham 0 Posted December 17, 2010 Author Report Share Posted December 17, 2010 Hi the comma is in a list of numbers e.g 246,000. I want to remove the comma and split into two lists e.g list246,000240,000 120,00015,000 new list 1 246000120000 new list 224000015000 Hope this helps There are a couple of ways to do this. Can you give us a little more detail? Is the comma in a variable or a list item? Quote Link to post Share on other sites
Guerrilla 19 Posted December 17, 2010 Report Share Posted December 17, 2010 $replace "," with $nothing Quote Link to post Share on other sites
Graham 0 Posted December 17, 2010 Author Report Share Posted December 17, 2010 Hi I'm aware that i can use $replace and $ nothing, but i can't find instructions on how to carry out this on the latest version of ubot many thanks Graham $replace "," with $nothing Quote Link to post Share on other sites
UBotBuddy 331 Posted December 17, 2010 Report Share Posted December 17, 2010 Graham, Here is an example.http://screencast.com/t/7wE7oO3a Replacing something like "," with $nothing is also as easy.http://screencast.com/t/JrbxKAwOotXi Quote Link to post Share on other sites
Graham 0 Posted December 17, 2010 Author Report Share Posted December 17, 2010 Many thanks for the help Graham, Here is an example.http://screencast.com/t/7wE7oO3a Replacing something like "," with $nothing is also as easy.http://screencast.com/t/JrbxKAwOotXi 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.