Jump to content
UBot Underground

Recommended Posts

I'm trying to get on the 'stuff1' portion from a string that looks like

 

stuff1/stuff2/stuff3

 

No matter what I do, I end up with 2 elements/groups of stuff1/ and stuff2/

 

I'd like just

 

stuff1

 

to be returned

 

(.*?)(\/) is what I use that returns two sets, including the / I don't want

 

Thanks in advance!

Link to post
Share on other sites

set(#tempfortesting, "stuff1/stuff2/stuff3", "Global")

 

add list to list(%mylist, $list from text(#tempfortesting, "/"), "Delete", "Global")

set(#varItem0, $list item(%mylist, 0), "Global")

set(#varItem1, $list item(%mylist, 1), "Global")

set(#varItem2, $list item(%mylist, 2), "Global")

 

...aso

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...