Hello Sir! I wold like to remove the value in “()”.
Ex1: B1-2 (300) —> B1-2,
Ex2: A’1(200)-3(200)—>A’1-3,ect…
Thank you Sir!
1 Like
@toantrungthach This should work provided you don’t start with or have consecutive parentheses
The list structure isn’t maintained (due to an issue with Keep Structure in nodes)
However this could be handled by using Design Script
String.Join("",List.TakeEveryNthItem(String.Split(s,["(",")"])<1><2>,2,1)<1>);
stringRemove.dyn (13.3 KB)
2 Likes
Thank you @Vikram_Subbaiah, Thank you @Alban_de_Chasteigner! Thank you very much!!! <3
1 Like