I want to write an efficient function to find first non-repeated character in a string. For instance, the non repeated character in "total" is 'o' and the first non repeated character in "teeter" is 'r'.

Tushar.