Hi,
I am trying to retrieve a value from a listitem and it is returning the desired value (name) preceded with three additional characters.. Any idea why it is happening.
ex:
SPListItem objItem;
string strName = objItem[
"Assigned To"].ToString() //strName has the desired value in it, but is preceded with 1@#..Thanks

WSS V3 - SPListItem["Assigned To"] returns special character (#)
wakewakeup
You need to use the SPFieldUserValue object.
example:
private SPUser GetUser(SPListItem item, SPField userField)
{
}
usage:
string strName = GetUser(objItem,objItem.Fields["Assigned To"]).Name;