//Example for name formatting "Wonderland, Alcie" => "Alice Wonderland" string name = "Wonderland, Alcie"; string[] newName = name.Split(", "); (newName[0], newName[1])=(newName[1], newName[0]); name = String.Concat(newName[0]," ", newName[1]);