def _2DprintInxRow(inxRow, lSpacesIndR):
    """
    Function prints one index of a row of a 2D array


    Input:

    - 1 **inxCol** (*int*)            Index of the row to be printed

    - 2 **lSpacesIndR** (*list*)      A list with spaces which should be added
                                      to indices of rows

    Output:

    - 1 **strArray** (*string*)   The string with printed requested index of
                                  a row

    """

    # Print index of the row
    strRowInx = ('%d:') % inxRow

    # Pick up a correct space which is added before the index
    strSpaceBefore = lSpacesIndR[len(strRowInx) - 1]

    # Connect the above together
    strArray = strSpaceBefore + strRowInx
    strArray = strArray + '  '
    return strArray