def get_unit_string_from_comment(comment_string):
    """return unit string from FITS comment"""
    bstart = comment_string.find("[")
    bstopp = comment_string.find("]")
    if bstart != -1 and bstopp != -1:
        return comment_string[bstart + 1: bstopp]
    return None