Forum Discussion

Mellissa Perez's avatar
Mellissa Perez
Copper Contributor
May 30, 2023
Solved

Split column based on multiple delimiters

Hi.  I have a column that uses a ">" as a delimiter.  The problem is is that there can be multiple ">"s and the data is not always the same length.    Ex:   A > B > C A > B > C > D A > B A   ...
  • ganeshsanap's avatar
    ganeshsanap
    May 31, 2023

    Mellissa Perez Run Power automate flow on item creation and/or item update (as per your requirements).

     

    Then perform trim operations as mentioned above in power automate flow using flows expressions (similar functions like substring, indexOf are available).

     

    Save back the trimmed result to SharePoint list using update item action. You can add trigger condition to avoid infinite flow running loop - condition based on whether > is found in the column value.

     

    You can also try calculated column approach to create a new column based on the existing column ( having values with ). But, you might not be able to use the calculated columns in the SharePoint lookups.


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources