Revature interview question

What is the java function to determine the length of a string?