blumi40 222 Posted December 3, 2012 Report Share Posted December 3, 2012 hi folks any idea how to do thatgot a word and want this split to a list like myword myword any idea with the delimiter ?greetz blumi Quote Link to post Share on other sites
Mrcrix 10 Posted December 3, 2012 Report Share Posted December 3, 2012 Hi Blumi40 try this out, could be enough? You could easilly transform it in a defined command or function.,. set(#word, "my very long word", "Global")set(#letters, #word, "Global")set(#loop, 0, "Global")loop($text length(#word)) { set(#letters, $insert text(#letters, "-", #loop), "Global") increment(#loop) increment(#loop)}clear list(%Letters)add list to list(%Letters, $list from text(#letters, "-"), "Don\'t Delete", "Global") 1 Quote Link to post Share on other sites
VaultBoss 310 Posted December 3, 2012 Report Share Posted December 3, 2012 Or this: set(#word, "my very long word", "Global") clear list(%Letters) loop while($comparison($text length(#word), ">", 0)) { add item to list(%Letters, $substring(#word, 0, 1), "Don\'t Delete", "Global") set(#word, $substring(#word, 1, $subtract($text length(#word), 1)), "Global") } 1 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.