private String extractSexFromConnectorType( String type, ComboBox sexCombo )
{
String newType = type;
if (newType != null)
{
if (newType.Contains( "Female" ))
sexCombo.SelectedIndex = sexCombo.FindString( "Female" );
else if (newType.Contains( "Male" ))
sexCombo.SelectedIndex = sexCombo.FindString( "Male" );
newType = newType.Replace( "Female", "" );
newType = newType.Replace( "Male", "" );
newType = newType.Trim();
}
return newType;
}