Jump to content
UBot Underground

Recommended Posts

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")

  • Like 1
Link to post
Share on other sites

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")
}

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...