Convert Pasted List Into Array Of Strings

  array<String^> ^NewUsernames = NewUsernames = gcnew array<String^>(0); String ^sPastedString; String ^sName; String ^sMarker = "[MARKERdfghj23l]"; int Count; try { sPastedString = txtPasteUsernames->Text; txtPasteUsernames->Text = ""; sPastedString = sPastedString->Trim(); if (sPastedString->Length <= 1) //Ignore single character in case user tries to type into box return; //Place markers between each name sPastedString = sPastedString->Replace("\r\n", sMarker); sPastedString […]

Read More