XYZ (Turkey) Interview Question

how do you get the first non repeatable character from a string