strlen is a predefined function that calculates the amount of characters in a string.
19
My own function subtracts 5 from output of the strlen function.
14
A function is a set of predefined code that is either built-in or defined by the programmer. It allows that set of code to be executed any time the fuction name is called. This is good for replacing frequently used lines of code to make it compile faster and to be easier to read.