I want to be able to add/remove groups in a delete SOP using python.
Specifically, if I have two groups already specified in the parameter and want to add another, is there a function to do this? And vice versa … only remove a specific group from a list of groups?
Thanks in advance
Cheers, Rob Digital Supervisor | Stargate Studios Toronto
If you have a string, then you can use the python split() function to convert it into a list (using space as a separator) that you can manipulate. When done, you can then use the python join() function to combine the list back into a string.