def get_value_after_str(cstate_str, hw_type):
    """ Get the value after cstate string """
    idx = 0
    cstate_list = cstate_str.split()
    for idx_hw_type, val in enumerate(cstate_list):
        if val.find(hw_type) != -1:
            idx = idx_hw_type
            break

    return cstate_list[idx + 1]