The function `f(x)` returns the first character of a given string.

