public static void Main()
string aribaCompany = "Roma";
string companyUserNameDelimiter = "attn:";
int delPosition = aribaCompany.ToLower().IndexOf(companyUserNameDelimiter);
string originalString = aribaCompany;
aribaCompany = originalString.Substring(0, delPosition).Trim();
string fullname = originalString.Substring(delPosition + companyUserNameDelimiter.Length, originalString.Length - delPosition - companyUserNameDelimiter.Length).Trim();
int firstSpacePos = fullname.IndexOf(' ');
firstName = fullname.Substring(0, firstSpacePos);
lastName = fullname.Substring(firstSpacePos + 1, fullname.Length - firstSpacePos-1);
Console.WriteLine("Else...");
string aribaDeliverTo1 = "";
bool deliverToExist = false;
Console.WriteLine("firstName=" + firstName);
Console.WriteLine("lastName=" + lastName);