Assassin1412 0 Posted April 6, 2013 Report Share Posted April 6, 2013 Hi,Example I have this : abcdefDo you know how to code to make a new variable from that as : bdf ( 2nd-4th-6th characters in the text above )Any help is really appreciated ! Quote Link to post Share on other sites
LazyBotter 188 Posted April 6, 2013 Report Share Posted April 6, 2013 set(#Text, "abcdef", "Global") set(#TextSplit, "{$substring(#Text, 1, 1)}{$substring(#Text, 3, 1)}{$substring(#Text, 5, 1)}", "Global") Quote Link to post Share on other sites
Assassin1412 0 Posted April 6, 2013 Author Report Share Posted April 6, 2013 set(#Text, "abcdef", "Global") set(#TextSplit, "{$substring(#Text, 1, 1)}{$substring(#Text, 3, 1)}{$substring(#Text, 5, 1)}", "Global") Thank you !Just found substring command , your code look more better than me a lot lol Quote Link to post Share on other sites
LazyBotter 188 Posted April 6, 2013 Report Share Posted April 6, 2013 Haha, no problem. ;-) 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.