how to split up column based on string of charecters

I want to separate out the SKU that is at the end of a url... how can I do this with the following, where anything following "-sku-" is separated out into a new column? I tried using the split columns function and using -sku- as the custom delimitator, but it isn't working.

https://climate.emerson.com/en-gb/shop/1/alco-controls-sku-802514m

Answers

  • Disregard... I figured this out.

  • is there a way to just delete these posts?

  • We don't have the ability to delete the posts but an admin might be able to.

    I'd recommend leaving them up but posting how you ended up solving your own question so others can also learn who may be having the same or similar questions.

    **Was this post helpful? Click Agree or Like below**
    **Did this solve your problem? Accept it as a solution!**
  • Hi @NathanDorsch

    You can use the "Add Formula" tile to accomplish this. Just use this as your formula

    SUBSTRING(`address_field`, INSTR(`address_field`,'-sku-')+5)
    



    “There is a superhero in all of us, we just need the courage to put on the cape.” -Superman
  • ... wow, you step away for a meeting and post when you get back and the issue is already solved. @NathanDorsch, I would be curious how you solved it, if you don't mind posting your solution as well.


    “There is a superhero in all of us, we just need the courage to put on the cape.” -Superman