Brutal 164 Posted May 21, 2013 Report Share Posted May 21, 2013 Hey guys, I am scraping a series of digits, and I need for the last x number of digits in the string to be removed. Any ideas on how to achieve that?.... The number of digits change with each scrape, so there is no set number of digits. Thanks for any help on this. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 21, 2013 Report Share Posted May 21, 2013 set(#count, $text length("my string or var here"), "Global") set(#removed, $substring("my string or var here", 0, "{#count}-3"), "Global")where - 3 is the characters i want to remove from the end Quote Link to post Share on other sites
Brutal 164 Posted May 21, 2013 Author Report Share Posted May 21, 2013 Thank you TJ - Very appreciated. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted May 21, 2013 Report Share Posted May 21, 2013 np 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.