Так должно работать.
string str = project.Variables["text"].Value;
str = str.Replace(",first_name:", "|");
str = str.Replace(",last_name:", "|");
str = str.Replace(",can_post:", "|пост-");
str = str.Replace(",wall_comments:", "|коммент-");
str = str.Replace(",can_write_private_message:"...