I have strings like
$value = "1;#Mohapatra,Mrutyunjaya (ADM) 10;#Sumit Upadhyay(ADM) 11;#Naidu,Ishan(ADM)"
I want to retrieve
"Mohapatra,Mrutyunjaya (ADM)", "Sumit Upadhyay(ADM)", "Naidu,Ishan(ADM)"
from $value.
I have tried $value.Split(";#")[0]. It is returning the first parameter only. But I want all the parameters
$item["Field"][i].LookupValueor$item["Field"][i].User.DisplayNamewhereiis an index greater than or equal to 0 and less than$item["Field"].Count,$itemis a list item, andFieldis the internal name of the column you're accessing.