core/src/main/java/org/apache/hop/core/sql/SqlFields.java
public SqlField findByName(String fieldName) {
    for (SqlField field : fields) {
      if (field.getField().equalsIgnoreCase(fieldName)) {
        return field;
      }
    }
    return null;
  }
/**
   * Find a field by it's field name (not alias)
   *
   * @param fieldName the name of the field
   * @return the field or null if nothing was found.
   */
Find a field by it's field name (not alias)
@param fieldName the name of the field
@return the field or null if nothing was found.
Find a field by it ' s field name ( not alias ) @param fieldName the name of the field @return the field or null if nothing was found .
public SqlField findByName(String fieldName) {
    for (SqlField field : fields) {
      if (field.getField().equalsIgnoreCase(fieldName)) {
        return field;
      }
    }
    return null;
  }
public SqlField findByName ( String fieldName ) { for ( SqlField field : fields ) { if ( field . getField ( ) . equalsIgnoreCase ( fieldName ) ) { return field ; } } return null ; }
Find a field by it's field name (not alias)
 @param fieldName the name of the field
 @return the field or null if nothing was found.
Find a field by it ' s field name ( not alias ) @param fieldName the name of the field @return the field or null if nothing was found .