2020-11-15 11:09:44 +01:00
# first-non-repeating-character
Created by [@Divlo ](https://github.com/Divlo ) on 15 November 2020.
2020-12-09 12:42:12 +01:00
## Instructions
2020-11-15 11:09:44 +01:00
Write a function that takes a string input, and returns the first character that is not repeated anywhere in the string.
2021-09-10 22:37:50 +02:00
For example, if given the input `'stress'` , the function should return `'t'` , since the letter `'t'` only occurs once in the string, and occurs first in the string.
2020-11-15 11:09:44 +01:00
If a string contains all repeating characters, it should return an empty string (`""`).
2020-12-09 12:42:12 +01:00
## Source
2020-11-15 11:09:44 +01:00
[First non-repeating character - Codewars ](https://www.codewars.com/kata/52bc74d4ac05d0945d00054e/ )
2020-12-09 12:42:12 +01:00
## Examples
2020-11-15 11:09:44 +01:00
2021-06-09 20:31:45 +02:00
See the `test` folder for examples of input/output.