code: public static String partsToName(Record record, String iNamePrefix, String iNameFirst, String iNameMiddle, String iNameSur, String iNameSuffix, String iNameTitle)
      {
          String string = null;
          String strFinal = Constants.BLANK;
          if (iNamePrefix != null)
          {
              string = record.getField(iNamePrefix).getString();
              if (string.length() != 0)
                  strFinal += string + ". ";
          }
          string = record.getField(iNameFirst).getString();
          if (string.length() != 0)
              strFinal += string + " ";
          if (iNameMiddle != null)
          {
              string = record.getField(iNameMiddle).getString();
              if (string.length() != 0)
                  strFinal += string + " ";
          }
          string = record.getField(iNameSur).getString();
          if (string.length() != 0)
              strFinal += string;
          if (iNameSuffix != null)
          {
              string = record.getField(iNameSuffix).getString();
              if (string.length() != 0)
                  strFinal += " " + string;
          }
          if (iNameTitle != null)
          {
              string = record.getField(iNameTitle).getString();
              if (string.length() != 0)
                  strFinal += " " + string;
          }
          return strFinal;
      }
docs: Convert this complete name to the component parts.
  @param record Target record.
  @param iNamePrefix Field sequence of the prefix field.
  @param iNameFirst Field sequence of the First name field.
  @param iNameMiddle Field sequence of the middle name field.
  @param iNameSur Field sequence of the sur name field.
  @param iNameSuffix Field sequence of the suffix field.
  @param iNameTitle Field sequence of the title field.
  @return Concatinate the fields and return the result.