I have created an event receiver that does two things:   

1) Pulls information from a selected user's profile and populates a column with that information (BC Champion ID). <-- This part works   

2) Extracts the first Cost Center from a list of Cost Centers (Column is named 'Cost Center(s)') and populates a column, (CC) <-- This part does not work.   

 Stepping through the code, I can see that properties.ListItem["CC"] is populated like I would expect before ListItem.Update() but afterward, the column is slightly changed, such that preceeding 0s are truncated and ;# is added to the end of the string. Although properties.ListItem["CC"] seems to be populated via the event receiver, it is indeed blank when I check the list item. Any ideas?

```
public override void ItemUpdated(SPItemEventProperties properties)
   {
       base.ItemAdding(properties);

       EventFiringEnabled = false;
       string userID = properties.ListItem["BC Champion"] as string;
       //string userID = properties.AfterProperties["BC_x0020_Champion"] as string;
       SPFieldUserValue userName = new SPFieldUserValue(properties.Web, userID);
       string selectedUser;
       if (userName.User != null)
       {
           selectedUser = userName.User.LoginName;
       }
       else
       {
           selectedUser = userName.LookupValue;
       }

       var user = GetUserInfo(selectedUser);
       properties.ListItem["BC Champion ID"] = user["corpID"].Value;
       //properties.AfterProperties["LookupBU"] = getLookUpValue(user["BU"].Value.ToString(), properties.List, "LookupBU");

       string CCs = properties.ListItem["Cost Center(s)"].ToString();
       string[] parts = CCs.Split(new string[] { ";#" }, StringSplitOptions.None);
       string primaryCC = parts[1];
       properties.ListItem["CC"] = primaryCC as string;
       properties.ListItem.Update();
       EventFiringEnabled = true;
   }

   private UserProfile GetUserInfo(string accountName)
   {
       using (SPSite site = new SPSite("http://sp2010/sites/MyBCP2"))
       {
           SPServiceContext context = SPServiceContext.GetContext(site);
           UserProfileManager profileManager = new UserProfileManager(context);

           UserProfile testUser = profileManager.GetUserProfile(accountName);
           return testUser;
       }
   }

```

Watch before ListItem.Update()

```
CCs                       "1304;#02163;#107;#01006"
primaryCC                 "02163"
properties.ListItem["CC"] "02163"

```

Watch after ListItem.Update()

```
CCs                       "1304;#02163;#107;#01006"
primaryCC                 "02163"
properties.ListItem["CC"] "2163;#"

```