def first_non_repeating_character(str1):
    from collections import OrderedDict
    count = OrderedDict()
    for char in str1:
        count[char] = count.get(char, 0) + 1
    for char, cnt in count.items():
        if cnt == 1:
            return char
    return None