UDA with udatype as textarray

Adding, Removing, updating attribute value for uda of type textarray.

How to remove any value from such uda through PML

ex. udaname[1]   '001'

udaname[2]   '002'

I want to remove second one from value using PML.

Can anyone help