Graphics

 View Only
  • 1.  Split up a string using Visual Logic?

    Posted 04-24-2019 16:24

    I'm trying to split up a text string into multiple sections.

    For example if I have a text string of:

    123/456/789/00

    I want to split this at each "/":

    123

    456

    789

    00

     

    Is this possible using Visual Logic?



  • 2.  RE: Split up a string using Visual Logic?

    Posted 04-24-2019 17:21

    Hello Omar,

    See the link for the XPF. This project uses !! to split a string left and right between a double !!. You should be able to adapt this quickly to slashes

    https://rossvideoltd.sharepoint.com/:u:/s/services/TechnicalSupport/Ef2pouG0hfpNsGUnlSb0rM4B_qXObAwnxBWsIbv5OTkGAQ

    Peter

     

     


    #XPression


  • 3.  RE: Split up a string using Visual Logic?

    Posted 30 days ago

    Could you repost the project or screenshot the visual logic tab? Thank you!



    ------------------------------
    Rachel Hinshaw
    Freelancer
    ------------------------------



  • 4.  RE: Split up a string using Visual Logic?

    Posted 04-26-2019 14:10

    Lurking in this thread, and poking around this XPF file. Is there a reason you use the String Length node in the middle of the chain as opposed to the DL object's length property? Is that just a housekeeping thing? I see it works using that as well.


    #XPression


  • 5.  RE: Split up a string using Visual Logic?

    Posted 04-26-2019 20:42

    Hey Martin,

     

    We needed the option to do it without datalinq, this gives it a bit more flexibility. 

    I agree using the DL objects length would be a great option!

    Peter


    #XPression