The function f(x) takes a string input and returns the length of the string.

